mirror of
https://github.com/plexusorg/ExampleModule.git
synced 2025-08-02 22:14:04 +00:00
UTF-8 for everything
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import java.nio.charset.StandardCharsets
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
@@ -47,10 +45,13 @@ tasks.getByName<Jar>("jar") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
javadoc {
|
|
||||||
options.memberLevel = JavadocMemberLevel.PRIVATE
|
|
||||||
}
|
|
||||||
compileJava {
|
compileJava {
|
||||||
options.encoding = StandardCharsets.UTF_8.name()
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
}
|
||||||
|
javadoc {
|
||||||
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
}
|
||||||
|
processResources {
|
||||||
|
filteringCharset = Charsets.UTF_8.name()
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user