-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
64 lines (55 loc) 路 1.32 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
buildscript {
ext {
kotlin_version = '1.0.0-rc-1050'
gradle_version = '2.11'
}
repositories {
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "us.kirchmeier.capsule" version "1.0.2"
}
apply plugin: 'java'
apply plugin: 'kotlin'
group 'io.sureshg'
version '1.0'
sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
maven {
url "https://maven-central.storage.googleapis.com"
}
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
mavenCentral()
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task makeExecutable(type: FatCapsule) {
// Executable name
archiveName = 'himawari'
reallyExecutable { trampoline() }
capsuleManifest {
premainClass = 'Capsule'
mainClass = 'Capsule'
applicationName = 'himawari'
applicationVersion = version
applicationClass = 'io.sureshg.Himawari'
jvmArgs = ['-client']
args = ['$*']
minJavaVersion = '1.7.0'
}
}
wrapper {
gradleVersion = gradle_version
}