diff --git a/build.gradle b/build.gradle index 7cec747..7616e12 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { main { java { @@ -163,6 +151,17 @@ tasks.withType(Jar) { /////////////////////////////// ////// 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) { // we don't want the default include of **/*.java getIncludes().clear()