mirror of
https://github.com/plexusorg/ExampleModule.git
synced 2024-12-28 19:14:29 +00:00
UTF-8 for everything
This commit is contained in:
parent
3df9135e1c
commit
e7cb600749
1 changed files with 7 additions and 6 deletions
|
@ -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 a new issue