Pull up common JavaCompile config to root

This commit is contained in:
Chris Beams 2018-11-04 14:14:56 +01:00
parent 4e1fa914a2
commit f6a68f8aef
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
5 changed files with 4 additions and 16 deletions

View File

@ -1,7 +1,3 @@
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
javadoc {
options.author = true
options.addStringOption('Xdoclint:none', '-quiet')

View File

@ -10,4 +10,8 @@ subprojects {
jcenter()
maven { url 'https://jitpack.io' }
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}

View File

@ -21,10 +21,6 @@ ext {
platform = osdetector.os == 'osx' ? 'mac' : osdetector.os == 'windows' ? 'win' : osdetector.os
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
sourceSets.main.java.srcDir "$buildDir/generated/source/proto/main/java"
protobuf {

View File

@ -1,7 +1,3 @@
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
def jmockitVersion = '1.42'
repositories {

View File

@ -24,10 +24,6 @@ tasks.withType(AbstractArchiveTask) {
reproducibleFileOrder = true
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
sourceSets.main.resources.srcDirs += ['src/main/java'] // to copy fxml and css files
repositories {