diff --git a/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts b/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts index 0cf91dbc3c75..1865609af928 100644 --- a/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts +++ b/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts @@ -203,17 +203,17 @@ val compileModule by tasks.registering(JavaCompile::class) { } tasks.withType().configureEach { - from(rootDir) { - include("LICENSE.md") - into("META-INF") - } - from(rootDir) { - include("NOTICE.md") - rename { - "LICENSE-notice.md" - } - into("META-INF") - } + from(rootDir) { + include("LICENSE.md") + into("META-INF") + } + from(rootDir) { + include("NOTICE.md") + rename { + "LICENSE-notice.md" + } + into("META-INF") + } val suffix = archiveClassifier.getOrElse("") if (suffix.isBlank() || this is ShadowJar) { dependsOn(allMainClasses, compileModule)