We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 298db46 commit 4684bd4Copy full SHA for 4684bd4
gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts
@@ -203,17 +203,17 @@ val compileModule by tasks.registering(JavaCompile::class) {
203
}
204
205
tasks.withType<Jar>().configureEach {
206
- from(rootDir) {
207
- include("LICENSE.md")
208
- into("META-INF")
209
- }
210
211
- include("NOTICE.md")
212
- rename {
213
- "LICENSE-notice.md"
214
215
216
+ from(rootDir) {
+ include("LICENSE.md")
+ into("META-INF")
+ }
+ include("NOTICE.md")
+ rename {
+ "LICENSE-notice.md"
217
val suffix = archiveClassifier.getOrElse("")
218
if (suffix.isBlank() || this is ShadowJar) {
219
dependsOn(allMainClasses, compileModule)
0 commit comments