mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Bink and it's gone
- Remove jarjar stuffs from gradle script
This commit is contained in:
parent
5fc4a74860
commit
fb95556623
14
build.gradle
14
build.gradle
@ -7,8 +7,6 @@ plugins {
|
|||||||
id 'org.spongepowered.mixin' version "${mixingradle_version}"
|
id 'org.spongepowered.mixin' version "${mixingradle_version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
jarJar.enable()
|
|
||||||
|
|
||||||
boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equalsIgnoreCase('false');
|
boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equalsIgnoreCase('false');
|
||||||
|
|
||||||
ext.buildNumber = System.getenv('BUILD_NUMBER')
|
ext.buildNumber = System.getenv('BUILD_NUMBER')
|
||||||
@ -114,7 +112,6 @@ idea {
|
|||||||
// Workaround for SpongePowered/MixinGradle#38
|
// Workaround for SpongePowered/MixinGradle#38
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
|
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
|
||||||
tasks.configureReobfTaskForReobfJarJar.mustRunAfter(tasks.compileJava)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
@ -170,17 +167,9 @@ void addManifest(jarTask) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('jar', Jar).configure {
|
tasks.named('jar', Jar).configure {
|
||||||
archiveClassifier = 'slim'
|
|
||||||
|
|
||||||
finalizedBy 'reobfJar'
|
|
||||||
addManifest(it)
|
|
||||||
addLicense(it)
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.named('jarJar', Jar).configure {
|
|
||||||
archiveClassifier = ''
|
archiveClassifier = ''
|
||||||
|
|
||||||
finalizedBy 'reobfJarJar'
|
finalizedBy 'reobfJar'
|
||||||
addManifest(it)
|
addManifest(it)
|
||||||
addLicense(it)
|
addLicense(it)
|
||||||
}
|
}
|
||||||
@ -200,7 +189,6 @@ publishing {
|
|||||||
artifactId = archivesBaseName
|
artifactId = archivesBaseName
|
||||||
|
|
||||||
fg.component(it)
|
fg.component(it)
|
||||||
jarJar.component(it)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
|
Loading…
Reference in New Issue
Block a user