-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
54 lines (41 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
buildscript {
ext.kotlin_version = '1.2.31'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions.jvmTarget= "1.8"
}
apply plugin: 'application'
mainClassName = 'app.MyApp'
dependencies {
//TornadoFX dependencies
compile 'no.tornado:tornadofx:1.7.15'
compile 'org.controlsfx:controlsfx:8.40.14'
//sqlite and RxJava-JDBC dependencies
compile 'org.xerial:sqlite-jdbc:3.21.0.1'
compile 'org.nield:rxkotlin-jdbc:0.2.5'
compile 'org.slf4j:slf4j-simple:1.7.21'
//RxKotlin and RxKotlinFX dependencies
compile 'com.github.thomasnield:rxkotlinfx:2.2.2'
compile 'io.reactivex.rxjava2:rxkotlin:2.2.0'
//Testing dependencies
testCompile 'junit:junit:4.12'
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'app.MyApp'
)
}
from configurations.compile.collect { entry -> zipTree(entry) }
}