forked from alvr/ASFui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
48 lines (38 loc) · 929 Bytes
/
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
apply plugin: 'kotlin'
group 'me.alvr'
version '2.0.0-alpha1'
buildscript {
ext.kotlin_version = '1.1.3-2'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'khttp:khttp:0.1.0'
compile 'no.tornado:tornadofx:1.7.9'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'org.zeroturnaround:zt-exec:1.10'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'me.alvr.asfui.MainKt'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
destinationDir = file("$rootDir/out")
}