Update shadowJar to new config format
This commit is contained in:
@@ -78,7 +78,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.github.jengelman.gradle.plugins:shadow:6.1.0'
|
classpath 'com.github.johnrengelman:shadow:8.1.1'
|
||||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.51.0'
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.51.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -172,9 +172,9 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
baseName = project.name
|
archiveBaseName.set(project.name)
|
||||||
classifier = null
|
archiveClassifier.set('') // Set to an empty string if you don't need a classifier.
|
||||||
version = null
|
archiveVersion.set('') // Set to an empty string if you don't want the version in the jar name.
|
||||||
}
|
}
|
||||||
|
|
||||||
task debBuild(dependsOn: shadowJar) {
|
task debBuild(dependsOn: shadowJar) {
|
||||||
|
Reference in New Issue
Block a user