apply plugin: "java"
+apply plugin: "war"
apply plugin: "jacoco"
apply plugin: "idea"
)
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
+ from { sourceSets.generated.resources.srcDirs }
with jar
dependsOn test
}
new File("src/generated/resources/version.txt").withWriter() { it.write(version) }
}
+war {
+ classpath sourceSets.generated.output
+ dependsOn(test)
+}
+
/* vim: set ts=4 sw=4 et: */