mirror of
https://github.com/plexusorg/ExampleModule.git
synced 2024-11-15 01:13:33 +00:00
UTF-8 for everything
This commit is contained in:
parent
3df9135e1c
commit
e7cb600749
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user