forked from Thinkofname/vanillacord
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
35 lines (31 loc) · 1.02 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
apply plugin: 'java'
sourceCompatibility = 1.7
version = '1.0'
repositories {
mavenCentral()
maven {
url "https://libraries.minecraft.net/"
}
}
jar {
archiveName = "vanillacord.jar"
manifest.attributes("Main-Class": "uk.co.thinkofdeath.vanillacord.Main")
from {
configurations.compile
.filter {
!it.name.contains("netty") \
&& !it.name.contains("authlib") \
&& !it.name.contains("commons") \
&& !it.name.contains("log4j")
}
.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.2.4'
compile group: 'com.mojang', name: 'authlib', version: '1.5.16'
compile group: 'io.netty', name: 'netty-all', version: '4.1.13.Final'
compile group: 'org.ow2.asm', name: 'asm-debug-all', version: '5.0.2'
compile group: 'com.google.guava', name: 'guava', version: '17.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}