blob: fcc6082107a0adfc3f6a81aa27ecc36accd3960c [file] [log] [blame]
Lázaro Clappe51677f2018-08-06 19:43:30 -07001plugins {
Lázaro Clappe51677f2018-08-06 19:43:30 -07002 id "java"
3}
Lázaro Clappe51677f2018-08-06 19:43:30 -07004
5sourceCompatibility = 1.8
6
7repositories {
8 mavenCentral()
9 // uncomment if you want to use wala.dalvik or wala.scandroid
10 //maven { url "https://raw.github.com/msridhar/maven-jars/mvn-repo/" }
11}
12
13dependencies {
Raghavan Raman7a29a312019-05-28 15:11:11 -070014 compile deps.build.asm
Raghavan Ramaneadcd3a2019-07-29 14:55:22 -070015 compile deps.build.asmTree
Lázaro Clappe51677f2018-08-06 19:43:30 -070016 compile deps.build.wala
17 compile deps.build.guava
18 compile deps.build.commonsIO
19 compileOnly deps.build.errorProneCheckApi
20
Lázaro Clappe51677f2018-08-06 19:43:30 -070021 testCompile deps.test.junit4
22 testCompile(deps.build.errorProneTestHelpers) {
23 exclude group: "junit", module: "junit"
24 }
Manu Sridharan4c188132018-08-21 21:15:57 -070025 testCompile project(":jar-infer:test-java-lib-jarinfer")
Raghavan Raman047107c2019-07-23 11:17:03 -070026 testCompile project(path: ":jar-infer:test-android-lib-jarinfer", configuration: "default")
Lázaro Clapp073f31a2019-08-12 21:21:54 -070027 testCompile files("${System.properties['java.home']}/../lib/tools.jar") // is there a better way?
Thomas Broyer2cf80112018-10-17 21:19:38 +020028 testRuntime deps.build.errorProneCheckApi
Lázaro Clappe51677f2018-08-06 19:43:30 -070029}
30
31test {
32 maxHeapSize = "1024m"
Thomas Broyer2cf80112018-10-17 21:19:38 +020033 jvmArgs "-Xbootclasspath/p:${configurations.errorproneJavac.asPath}"
Lázaro Clappe51677f2018-08-06 19:43:30 -070034}
35
36apply from: rootProject.file("gradle/gradle-mvn-push.gradle")