diff --git a/LICENSE.md b/LICENSE-EPL-2.0.md similarity index 100% rename from LICENSE.md rename to LICENSE-EPL-2.0.md 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 d3c195c735c1..d544b2e41c94 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 @@ -204,7 +204,14 @@ val compileModule by tasks.registering(JavaCompile::class) { tasks.withType().configureEach { from(rootDir) { - include("LICENSE.md", "LICENSE-notice.md") + include("LICENSE-EPL-2.0.md") + rename { + "LICENSE.md" + } + into("META-INF") + } + from(rootDir) { + include("LICENSE-notice.md") into("META-INF") } val suffix = archiveClassifier.getOrElse("")