summaryrefslogtreecommitdiffstats
path: root/tools/infer/test/autotest/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'tools/infer/test/autotest/build.gradle')
-rw-r--r--tools/infer/test/autotest/build.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/infer/test/autotest/build.gradle b/tools/infer/test/autotest/build.gradle
new file mode 100644
index 0000000000..f4303cb168
--- /dev/null
+++ b/tools/infer/test/autotest/build.gradle
@@ -0,0 +1,25 @@
+buildDir "${topobjdir}/gradle/build/tools/infer/test/autotest"
+
+apply plugin: 'java'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile "com.google.code.findbugs:jsr305:3.0.2"
+}
+
+def createSingleTask = { name ->
+ task("compileInferTest${name}", type: JavaCompile) {
+ source = fileTree(dir: '.', include: "src/main/java/${name}.java")
+ classpath = project.configurations.compileClasspath
+ destinationDir = file("${topobjdir}/gradle/build/tools/infer/test/autotest")
+ }
+}
+
+createSingleTask('Biabduction')
+createSingleTask('Checkers')
+createSingleTask('Eradicate')
+createSingleTask('Racerd')
+createSingleTask('Starvation') \ No newline at end of file