diff --git a/build.gradle.kts b/build.gradle.kts index a6926e5..f861bb9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -43,14 +43,17 @@ tasks { shadowJar { archiveClassifier.set("") // Set classifier to empty to replace the default JAR mergeServiceFiles() // Merge service files + exclude("/META-INF/LICENSE") // Exclude any LICENSE files from dependencies to avoid duplicate files + into("/META-INF") { + from(rootProject.file("LICENSE")) // Include dendroloj license + } from(sourceSets.main.get().allSource) // Include sources for API documentation and source viewing in IDE-s manifest { attributes( - "Manifest-Version" to "1.0", - "Implementation-Version" to project.version, + "Manifest-Version" to "1.0", + "Implementation-Title" to "dendroloj", + "Implementation-Version" to project.version, ) } } } - -//TODO: targetCompatibility \ No newline at end of file