File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,12 @@ There are three parts to the project:
29
29
Building
30
30
--------
31
31
32
- To build the jar, use ` ./gradlew shadowJar `
32
+ To build, ` ./gradlew fatjar `
33
+
34
+ The Simplify jar will be in ` simplify/build/libs/simplify.jar `
35
+
36
+ You can test it's working with: ` java -jar simplify/build/libs/simplify.jar -i simplify/obfuscated-example `
37
+
33
38
34
39
Troubleshooting
35
40
---------------
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ buildscript {
11
11
12
12
dependencies {
13
13
classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0'
14
- classpath ' com.github.jengelman.gradle.plugins:shadow:1.2.2'
15
14
}
16
15
}
17
16
@@ -29,7 +28,6 @@ subprojects {
29
28
apply plugin : ' java'
30
29
apply plugin : ' eclipse'
31
30
apply plugin : ' idea'
32
- apply plugin : ' com.github.johnrengelman.shadow'
33
31
34
32
group = ' org.cf'
35
33
sourceCompatibility = 1.7
Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ dependencies {
30
30
testCompile depends. mockito
31
31
}
32
32
33
+ // Build a separate jar that contains all dependencies
34
+ task fatJar (type : Jar ) {
35
+ from sourceSets. main. output
36
+ from { configurations. compile. collect { it. isDirectory() ? it : zipTree(it) } }
37
+ }
38
+ tasks. getByPath(' build' ). dependsOn(fatJar)
39
+
33
40
task myTestsJar (type : Jar ) {
34
41
// Simplify uses some classes from smalivm's tests.
35
42
classifier = ' tests'
You can’t perform that action at this time.
0 commit comments