diff options
| -rw-r--r-- | build.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index f8d20160..7711454f 100644 --- a/build.gradle +++ b/build.gradle | |||
| @@ -104,8 +104,8 @@ dependencies { | |||
| 104 | // For each set of test inputs, create an output jar and obfuscate it. | 104 | // For each set of test inputs, create an output jar and obfuscate it. |
| 105 | file('src/test/java/cuchaz/enigma/inputs').listFiles().each { theFile -> | 105 | file('src/test/java/cuchaz/enigma/inputs').listFiles().each { theFile -> |
| 106 | if (theFile.directory) { | 106 | if (theFile.directory) { |
| 107 | task("${theFile.name}TestJar", type: Jar, dependsOn: testClasses) { | 107 | task("${theFile.name}TestJar", type: Jar) { |
| 108 | from('build/classes/test') { | 108 | from(sourceSets.test.output) { |
| 109 | include "cuchaz/enigma/inputs/$theFile.name/**/*.class" | 109 | include "cuchaz/enigma/inputs/$theFile.name/**/*.class" |
| 110 | include 'cuchaz/enigma/inputs/Keep.class' | 110 | include 'cuchaz/enigma/inputs/Keep.class' |
| 111 | } | 111 | } |