Added Continuous Integration Detection

This commit is contained in:
Bruce Eckel 2017-05-03 12:25:17 -06:00
parent 7bf05f592b
commit 73f7ebe085

View File

@ -13,6 +13,10 @@ class TaggingPlugin implements Plugin<Project> {
void apply(Project project) {
boolean debug = project.hasProperty(DEBUG_PROJECT_PROPERTY_KEY) ? Boolean.valueOf(project.getProperty(DEBUG_PROJECT_PROPERTY_KEY)) : false
List createdTasks = []
boolean runningInCI = System.getenv('CI')
boolean runningInTravis = System.getenv('TRAVIS')
boolean runningInAppveyor = System.getenv('APPVEYOR')
// println "runningInCI: " + runningInCI
project.projectDir.eachFileRecurse { file ->
if (file.name.endsWith('.java')) {