1apply plugin: 'java' 2 3sourceCompatibility = 1.6 4version = '1.0' 5 6dependencies { 7 testCompile 'junit:junit:4.12' 8 testCompile 'org.apache.commons:commons-lang3:3.3.2' 9 testCompile 'commons-io:commons-io:2.4' 10 testCompile 'commons-codec:commons-codec:1.10' 11 testCompile project(':dataBinding:compilerCommon') 12 testCompile project(':dataBinding:compiler') 13} 14 15afterEvaluate { 16 tasks['test'].systemProperties['useReleaseVersion'] = dataBindingConfig.inReleaseBuild ? 'true' : 'false' 17 tasks['test'].systemProperties['addRemoteRepos'] = dataBindingConfig.addRemoteRepos ? 'true' : 'false' 18} 19 20sourceSets { 21 test { 22 java { 23 srcDirs += "${project.rootProject.getProjectDir().getAbsolutePath()}/compiler/src/test/java/android/databinding/tool/reflection/java" 24 } 25 } 26} 27