WALA/com.ibm.wala.core.tests/build.gradle
Ben Liblit 5d5fa18b5f Replace source directories rather than appending to them
I was confused about the differences among:

	srcDir 'foo'
	srcDirs ['foo']
	srcDirs = ['foo']

As it turns out, the first two append to the set of source
directories, while the last replaces this set entirely.  I generally
want replacement, since WALA's current directory layout never matches
Gradle's assumed defaults.
2018-04-18 11:29:25 -05:00

20 lines
524 B
Groovy

plugins {
id 'com.github.hauner.jarTest' version '1.0.1'
}
sourceSets.test {
java.srcDirs = ['src']
resources.srcDirs = ['dat']
}
dependencies {
testCompile 'junit:junit:4.11'
testCompile 'org.apache.ant:ant:1.8.2'
testCompile 'org.eclipse.core:org.eclipse.core.runtime:3.10.0.v20140318-2214'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.osgi:org.osgi.core:4.2.0'
testCompile project(':com.ibm.wala.core')
testCompile project(':com.ibm.wala.shrike')
testCompile project(':com.ibm.wala.util')
}