summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Modmuss502018-07-18 13:46:00 +0100
committerGravatar GitHub2018-07-18 13:46:00 +0100
commit1ebe691c12f68beea378b133ddc4bcbde7f3f795 (patch)
treefb051d9fde5644bd144a7e9d7bcecc70a256359c /build.gradle
parentRecursively rebuild method names (diff)
parentUpdate version number (diff)
downloadenigma-1ebe691c12f68beea378b133ddc4bcbde7f3f795.tar.gz
enigma-1ebe691c12f68beea378b133ddc4bcbde7f3f795.tar.xz
enigma-1ebe691c12f68beea378b133ddc4bcbde7f3f795.zip
Merge pull request #62 from OpenModLoader/asm
ASM based class translator
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 8 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index c65ccca2..5a0de102 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
19apply plugin: 'maven' 19apply plugin: 'maven'
20 20
21group = 'cuchaz' 21group = 'cuchaz'
22version = '0.11.0' 22version = '0.12.0'
23 23
24def ENV = System.getenv() 24def ENV = System.getenv()
25if (ENV.BUILD_NUMBER) { 25if (ENV.BUILD_NUMBER) {
@@ -65,10 +65,9 @@ configurations {
65 65
66dependencies { 66dependencies {
67 compile 'com.google.guava:guava:21.+' 67 compile 'com.google.guava:guava:21.+'
68 compile 'org.javassist:javassist:3.22.0-GA'
69 compile 'org.bitbucket.mstrobel:procyon-compilertools:0.5.33.8-enigma' 68 compile 'org.bitbucket.mstrobel:procyon-compilertools:0.5.33.8-enigma'
70 compile 'com.google.code.gson:gson:2.8.1' 69 compile 'com.google.code.gson:gson:2.8.1'
71 70 compile "org.ow2.asm:asm-debug-all:5.1"
72 71
73 application 'de.sciss:syntaxpane:1.1.+' 72 application 'de.sciss:syntaxpane:1.1.+'
74 73
@@ -159,9 +158,15 @@ task('libJar', type: Jar, dependsOn: classes) {
159 } 158 }
160} 159}
161 160
161task sourcesJar(type: Jar, dependsOn: classes) {
162 classifier = 'sources'
163 from sourceSets.main.allSource
164}
165
162artifacts { 166artifacts {
163 archives shadowJar 167 archives shadowJar
164 archives libJar 168 archives libJar
169 archives sourcesJar
165} 170}
166 171
167// And finally, make the build generate / install the jars. 172// And finally, make the build generate / install the jars.