We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70ab5d commit 078cedeCopy full SHA for 078cede
1 file changed
buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy
@@ -8,8 +8,10 @@ import org.gradle.internal.jvm.Jvm
8
import org.apache.tools.ant.util.TeeOutputStream
9
10
class TaggingPlugin implements Plugin<Project> {
11
+ private final static String DEBUG_PROJECT_PROPERTY_KEY = 'debug'
12
+
13
void apply(Project project) {
- boolean debug = false
14
+ boolean debug = project.hasProperty(DEBUG_PROJECT_PROPERTY_KEY) ? Boolean.valueOf(project.getProperty(DEBUG_PROJECT_PROPERTY_KEY)) : false
15
List createdTasks = []
16
17
project.projectDir.eachFileRecurse { file ->
0 commit comments