2017-12-21 15:09:27 +00:00
|
|
|
sourceSets.test {
|
2017-12-26 21:54:35 +00:00
|
|
|
java.srcDirs = ['source']
|
2017-12-26 23:00:54 +00:00
|
|
|
resources.srcDirs = [
|
|
|
|
'testdata',
|
|
|
|
project(':com.ibm.wala.cast.java.test.data').sourceSets.test.java,
|
|
|
|
]
|
2017-12-18 18:23:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-01-11 03:56:27 +00:00
|
|
|
testCompile(
|
|
|
|
'junit:junit:4.11',
|
|
|
|
'org.eclipse.core:org.eclipse.core.runtime:3.10.0.v20140318-2214',
|
|
|
|
'org.eclipse.jdt:org.eclipse.jdt.core:3.13.50',
|
|
|
|
'org.eclipse.platform:org.eclipse.core.runtime:3.13.0',
|
2018-01-16 18:53:45 +00:00
|
|
|
'org.eclipse.platform:org.eclipse.osgi:3.12.50',
|
|
|
|
'org.osgi:org.osgi.core:4.2.0',
|
2018-01-11 03:56:27 +00:00
|
|
|
project(':com.ibm.wala.cast'),
|
|
|
|
project(':com.ibm.wala.cast.java'),
|
|
|
|
project(':com.ibm.wala.cast.java.ecj'),
|
|
|
|
project(':com.ibm.wala.core'),
|
|
|
|
project(':com.ibm.wala.ide'),
|
|
|
|
project(':com.ibm.wala.ide.jdt'),
|
|
|
|
project(':com.ibm.wala.shrike'),
|
|
|
|
project(':com.ibm.wala.util'),
|
|
|
|
project(configuration: 'testArchives', path: ':com.ibm.wala.cast.java.test'),
|
|
|
|
project(configuration: 'testArchives', path: ':com.ibm.wala.core.tests'),
|
|
|
|
project(configuration: 'testArchives', path: ':com.ibm.wala.ide.tests'),
|
|
|
|
)
|
2017-12-18 18:23:21 +00:00
|
|
|
}
|
2018-01-17 20:59:22 +00:00
|
|
|
|
|
|
|
test {
|
|
|
|
// https://github.com/liblit/WALA/issues/5
|
|
|
|
exclude '**/ECJJavaIRTest.class'
|
|
|
|
exclude '**/ECJSyncDuplicatorTest.class'
|
|
|
|
exclude '**/JDTJava15IRTests.class'
|
|
|
|
exclude '**/JDTJavaIRTests.class'
|
|
|
|
}
|