-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
70 lines (58 loc) · 1.75 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
group 'no.tornado.tornadofx'
version '1.0'
buildscript {
ext.kotlin_version = '1.2.21'
ext.tornadofx_version = '1.7.15'
ext.jpro_version = '0.1.9-SNAPSHOT'
ext.jpro_plugin_version = ext.jpro_version
ext.jpro_webapi_version = '1.0.6.9-SNAPSHOT'
repositories {
maven {
url "http://mix-software.com:8081/nexus/content/repositories/jpro-snapshots"
}
maven {
url "http://sandec.bintray.com/repo"
}
mavenCentral()
jcenter()
}
dependencies {
classpath "com.jprotechnologies.jpro:jpro-plugin-gradle:$jpro_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'no.tornado:fxlauncher-gradle-plugin:1.0.15'
}
}
repositories {
jcenter()
mavenLocal()
}
apply plugin: 'kotlin'
apply plugin: 'no.tornado.fxlauncher'
apply plugin: 'com.jprotechnologies.jpro'
startServerCommand {
jvmArgs '-Xmx2048m'
//jvmArgs '-agentlib:jdwp=transport=dt_socket,server=y,address=5006,suspend=y'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
fxlauncher {
applicationVendor 'Tornado'
applicationUrl 'http://tornadofx.tornado.no/kitchensink/'
applicationMainClass 'tornadofx.kitchensink.app.KitchenSinkApp'
acceptDowngrade false
deployTarget '[email protected]:www/kitchensink'
}
dependencies {
//compile("com.jprotechnologies.jpro:jpro-webapi-extensions:$jpro_webapi_version")
compile("no.tornado:tornadofx:$tornadofx_version")
compile("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
mainClassName = 'tornadofx.kitchensink.app.Main'
jpro {
port = 8080
visible = false
noRenderJobs = true
useJProVM = false
jproVersion = "$jpro_version"
}