-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
73 lines (64 loc) · 1.71 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
71
apply plugin: 'java'
sourceCompatibility = 1.6
targetCompatibility = 1.6
configurations {
provided
shadow
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDirs = ['src', 'resources']
}
}
main {
compileClasspath += configurations.provided
compileClasspath += configurations.shadow
}
}
jar {
version = null
manifest {
attributes (
'Implementation-Version': 'S0.0.1',
'Main-Class': 'com.squidhq.launcher.Main'
)
}
from {
configurations.shadow.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
repositories {
mavenLocal()
jcenter()
maven {
url "https://libraries.minecraft.net"
}
}
dependencies {
compile 'com.google.guava:guava:19.0'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'org.apache.logging.log4j:log4j-core:2.0-beta9'
compile 'com.google.code.gson:gson:2.7'
compile 'commons-io:commons-io:2.5'
compile 'commons-codec:commons-codec:1.10'
compile 'net.sf.jopt-simple:jopt-simple:4.9'
compile 'com.mojang:authlib:1.5.17'
compile 'javax.annotation:javax.annotation-api:1.2'
compile 'de.sciss:weblaf:2.1.1'
shadow 'com.google.guava:guava:19.0'
shadow 'org.apache.commons:commons-lang3:3.4'
shadow 'org.apache.logging.log4j:log4j-core:2.0-beta9'
shadow 'com.google.code.gson:gson:2.7'
shadow 'commons-io:commons-io:2.5'
shadow 'commons-codec:commons-codec:1.10'
shadow 'net.sf.jopt-simple:jopt-simple:4.9'
shadow 'com.mojang:authlib:1.5.17'
shadow 'javax.annotation:javax.annotation-api:1.2'
shadow 'de.sciss:weblaf:2.1.1'
}