forked from alvr/ASFui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (44 loc) · 1.13 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
apply plugin: 'kotlin'
group 'me.alvr'
def props = new Properties()
new File("src/main/resources/version.properties").withInputStream {
stream -> props.load(stream)
}
version props["version"]
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'commons-io:commons-io:2.5'
compile 'khttp:khttp:0.1.0'
compile 'no.tornado:tornadofx:1.7.11'
compile 'org.controlsfx:controlsfx:8.40.14'
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")
}