-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
67 lines (53 loc) · 1.65 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
buildscript {
ext.kotlin_version = '1.2.50'
ext.scalaFullVersion = '2.12.4'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'kpmg.uva'
apply plugin: 'kotlin'
apply plugin: 'scala'
repositories {
mavenCentral()
jcenter()
}
jar {
manifest {
attributes 'Main-Class': 'MainKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
dependencies {
compile 'org.scala-lang:scala-library:2.12.4'
compile 'com.natpryce:konfig:1.6.7.0'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.23.4'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
// compile 'com.github.arguslab:amandroid_2.12:3.1.3'
// compile 'com.github.arguslab:jawa_2.12:3.1.3'
// compile 'com.github.arguslab:saf-library_2.12:3.1.3'
compile files('libs/argus-saf-3.1.4.jar')
compile files('libs/sootclasses-trunk-jar-with-dependencies.jar')
compile files('libs/soot-infoflow-android-classes.jar')
compile files('libs/soot-infoflow-classes.jar')
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.5.1'
}
compileScala.dependsOn = compileScala.taskDependencies.values - 'compileJava'
compileKotlin.dependsOn compileScala
compileKotlin.classpath += files(compileScala.destinationDir)
classes.dependsOn compileKotlin
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines "enable"
}
}