-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
72 lines (60 loc) · 2.25 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
68
69
70
71
72
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.0'
}
group 'RDroidPc'
version '0.2.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url = 'https://dl.bintray.com/android/android-tools/'
}
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation group: 'org.bytedeco', name: 'javacv-platform', version: '1.4.3'
// Monkey Runner dependencies
implementation group: 'net.sf.sociaal', name: 'chimpchat', version: '22.6.3'
implementation group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
implementation group: 'com.android.tools', name: 'sdklib', version: '25.3.0'
implementation group: 'com.android.tools.build', name: 'gradle', version: '2.3.0'
implementation group: 'com.android.tools', name: 'sdk-common', version: '25.3.0'
implementation group: 'com.android.tools.ddms', name: 'ddmlib', version: '25.3.0'
compile project(':filemanager')
compile project(':graphic')
extraLibs "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
extraLibs group: 'org.bytedeco', name: 'javacv-platform', version: '1.4.3'
// Monkey Runner dependencies
extraLibs group: 'net.sf.sociaal', name: 'chimpchat', version: '22.6.3'
extraLibs group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
extraLibs group: 'com.android.tools', name: 'sdklib', version: '25.3.0'
extraLibs group: 'com.android.tools.build', name: 'gradle', version: '2.3.0'
extraLibs group: 'com.android.tools', name: 'sdk-common', version: '25.3.0'
extraLibs group: 'com.android.tools.ddms', name: 'ddmlib', version: '25.3.0'
extraLibs project(':filemanager')
extraLibs project(':graphic')
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
jar {
manifest {
attributes 'Main-Class': 'com.ansgar.rdroidpc.Main'
}
from { configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) } }
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}