have compilation and javadoc use UTF8 encoding
This commit is contained in:
parent
034a66263a
commit
9ff8006d37
10
build.gradle
10
build.gradle
|
@ -40,6 +40,16 @@ allprojects {
|
|||
plugins.withType(JavaPlugin).whenPluginAdded {
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
compileJava {
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
options.encoding = "UTF8"
|
||||
}
|
||||
javadoc {
|
||||
maxMemory = "1g"
|
||||
options.encoding = "UTF8"
|
||||
}
|
||||
|
||||
|
||||
test {
|
||||
useTestNG()
|
||||
|
|
|
@ -74,10 +74,6 @@ jar << {
|
|||
}
|
||||
}
|
||||
|
||||
javadoc {
|
||||
maxMemory = "1g"
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
|
|
Loading…
Reference in New Issue