-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
47 lines (39 loc) · 1.01 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
buildscript {
ext.kotlin_version = '1.2.21'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'com.github.tokou.firebasepush'
version '0.9'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'com.github.tokou.firebasepush.FirebasePushApp'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "no.tornado:tornadofx:1.7.14"
testCompile "junit:junit:4.12"
}
jar {
manifest {
attributes(
"Implementation-Title": "FirebasePush",
"Implementation-Version": version,
"Main-Class": mainClassName,
"Class-Path": configurations.compile.collect { it.getName() }.join(' ')
)
}
from configurations.compile.collect { entry -> zipTree(entry) }
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}