Add dev jar task to build.gradle
This commit is contained in:
@@ -57,6 +57,14 @@ dependencies {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task deobfJar(type: Jar, dependsOn: 'jar') {
|
||||||
|
from "build/source/main"
|
||||||
|
classifier "dev"
|
||||||
|
}
|
||||||
|
artifacts {
|
||||||
|
archives deobfJar
|
||||||
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
// this will ensure that this task is redone when the versions change.
|
// this will ensure that this task is redone when the versions change.
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
|
|||||||
Reference in New Issue
Block a user