2017-12-21 15:09:27 +00:00
|
|
|
sourceSets.test {
|
2017-12-26 21:54:35 +00:00
|
|
|
java.srcDirs = ['source']
|
2018-01-18 18:20:44 +00:00
|
|
|
resources.srcDirs = ['testdata']
|
2017-12-18 18:23:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-01-11 03:56:27 +00:00
|
|
|
testCompile(
|
2018-02-14 20:53:56 +00:00
|
|
|
'eclipse-deps:org.eclipse.core.runtime:+',
|
|
|
|
'eclipse-deps:org.eclipse.jdt.core:+',
|
|
|
|
'eclipse-deps:org.eclipse.osgi:+',
|
2018-05-21 21:37:54 +00:00
|
|
|
'junit:junit:4.12',
|
2018-01-16 18:53:45 +00:00
|
|
|
'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'),
|
|
|
|
)
|
2018-02-14 23:46:05 +00:00
|
|
|
testRuntime(
|
|
|
|
'eclipse-deps:org.eclipse.core.contenttype:+',
|
|
|
|
'eclipse-deps:org.eclipse.equinox.preferences:+',
|
|
|
|
)
|
2017-12-18 18:23:21 +00:00
|
|
|
}
|
2018-01-17 20:59:22 +00:00
|
|
|
|
|
|
|
test {
|
2018-01-17 23:37:16 +00:00
|
|
|
maxHeapSize = '1200M'
|
|
|
|
|
2018-01-17 20:59:22 +00:00
|
|
|
// https://github.com/liblit/WALA/issues/5
|
|
|
|
exclude '**/JDTJava15IRTests.class'
|
|
|
|
exclude '**/JDTJavaIRTests.class'
|
2018-01-18 18:20:44 +00:00
|
|
|
|
|
|
|
workingDir project(':com.ibm.wala.cast.java.test.data').projectDir
|
2018-01-17 20:59:22 +00:00
|
|
|
}
|