-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (42 loc) · 1.35 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: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'application'
group = 'fr.ironcraft.kubithon'
version = appVersion
sourceCompatibility = 1.6
targetCompatibility = 1.6
mainClassName = 'fr.ironcraft.kubithon.launcher.KubithonInstaller'
compileJava.options.encoding = 'UTF-8'
// Jenkins support
if (System.env.BUILD_NUMBER != null)
{
version = "$version.$System.env.BUILD_NUMBER"
}
repositories {
mavenCentral()
maven {
url 'http://litarvan.github.io/maven/'
}
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
compile group: 'fr.litarvan', name: 'openlauncherlib', version: '3.0.4'
compile group: 'fr.litarvan', name: 'openauth', version: '1.0.4'
compile group: 'fr.theshark34.swinger', name: 'swinger', version: '1.0.1-BETA'
compile group: 'org.json', name: 'json', version: '20160810'
compile group: 'com.github.jiconfont', name: 'jiconfont-swing', version: '1.0.0'
compile group: 'com.github.jiconfont', name: 'jiconfont-font_awesome', version: '4.7.0.0'
}
task fatjar(type: Jar) {
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
manifest {
attributes 'Main-Class': mainClassName
}
}