Add Automatic-Module-Name

dependabot/gradle/org.junit.jupiter-junit-jupiter-api-5.10.2
William 2 years ago
parent fa38fe8588
commit 05a47fd1c5
No known key found for this signature in database

@ -25,16 +25,23 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
logger.lifecycle("Building PagineDown ${version} by William278")
version rootProject.version
archivesBaseName = "${rootProject.name}"
tasks {
compileJava {
options.encoding = 'UTF-8'
options.release.set(11)
}
jar {
manifest {
attributes('Automatic-Module-Name': 'net.william278.paginedown')
}
}
}
license {
header = rootProject.file('HEADER')
include '**/*.java'

Loading…
Cancel
Save