Code polish
This commit is contained in:
parent
9f654f90d2
commit
49be3b8ad3
23
build.gradle
23
build.gradle
|
@ -118,18 +118,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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
swtExampleJar
|
swtExampleJar
|
||||||
}
|
}
|
||||||
|
@ -287,6 +275,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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user