Debugging can be controlled from the command line
This commit is contained in:
parent
d70ab5d3cc
commit
078cede6dc
@ -8,8 +8,10 @@ import org.gradle.internal.jvm.Jvm
|
|||||||
import org.apache.tools.ant.util.TeeOutputStream
|
import org.apache.tools.ant.util.TeeOutputStream
|
||||||
|
|
||||||
class TaggingPlugin implements Plugin<Project> {
|
class TaggingPlugin implements Plugin<Project> {
|
||||||
|
private final static String DEBUG_PROJECT_PROPERTY_KEY = 'debug'
|
||||||
|
|
||||||
void apply(Project project) {
|
void apply(Project project) {
|
||||||
boolean debug = false
|
boolean debug = project.hasProperty(DEBUG_PROJECT_PROPERTY_KEY) ? Boolean.valueOf(project.getProperty(DEBUG_PROJECT_PROPERTY_KEY)) : false
|
||||||
List createdTasks = []
|
List createdTasks = []
|
||||||
|
|
||||||
project.projectDir.eachFileRecurse { file ->
|
project.projectDir.eachFileRecurse { file ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user