mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Prevent Loom from moving stuff to 'devlibs'
This commit is contained in:
parent
270511228b
commit
854052413a
11
build.gradle
11
build.gradle
@ -78,3 +78,14 @@ publishing {
|
|||||||
// retrieving dependencies.
|
// retrieving dependencies.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
afterEvaluate {
|
||||||
|
// Loom 0.11's devlibs folder messes with my other scripts,
|
||||||
|
// so I'm moving these files back to the old location.
|
||||||
|
tasks.named("remapJar") {
|
||||||
|
doLast {
|
||||||
|
ant.move(file:"${project.buildDir}/devlibs/${archivesBaseName}-${version}-dev.jar", tofile:"${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar")
|
||||||
|
ant.move(file:"${project.buildDir}/devlibs/${archivesBaseName}-${version}-sources.jar", tofile:"${project.buildDir}/libs/${archivesBaseName}-${version}-sources-dev.jar")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user