Code polish

This commit is contained in:
nathan 2018-08-18 21:07:14 +02:00
parent 180b2f3c84
commit a29c52ec88

View File

@ -92,18 +92,6 @@ licensing {
} }
static String[] javaFile(String... fileNames) {
def fileList = [] as ArrayList
for (name in fileNames) {
def fixed = name.replace('.', '/') + '.java'
fileList.add(fixed)
}
return fileList
}
sourceSets { sourceSets {
main { main {
java { java {
@ -163,6 +151,17 @@ tasks.withType(Jar) {
/////////////////////////////// ///////////////////////////////
////// UTILITIES COMPILE (for inclusion into jars) ////// UTILITIES COMPILE (for inclusion into jars)
/////////////////////////////// ///////////////////////////////
static String[] javaFile(String... fileNames) {
def fileList = [] as ArrayList
for (name in fileNames) {
def fixed = name.replace('.', '/') + '.java'
fileList.add(fixed)
}
return fileList
}
task compileUtils(type: JavaCompile) { task compileUtils(type: JavaCompile) {
// we don't want the default include of **/*.java // we don't want the default include of **/*.java
getIncludes().clear() getIncludes().clear()