Skip to content

Commit

Permalink
bump gradle from milestone-0.8 to milestone-0.8a
Browse files Browse the repository at this point in the history
  • Loading branch information
paulk-asert committed Mar 3, 2012
1 parent 4dbc405 commit d5a8543
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions build.gradle
Expand Up @@ -5,13 +5,6 @@ apply plugin: 'checkstyle'
// TODO use antlr plugin
//apply plugin: 'antlr'

allprojects { p ->
group = 'org.codehaus.groovy'
version = groovyVersion
tasks.withType(Checkstyle).all { t -> t.ignoreFailures = true }
tasks.withType(CodeNarc).all { t -> t.ignoreFailures = true }
}

sourceCompatibility = 1.5
targetCompatibility = 1.5

Expand Down Expand Up @@ -265,14 +258,18 @@ def isJava16() {
System.properties['java.version'].contains('1.6')
}

// suppress CheckStyle
task checkstyleExamples(overwrite: true) << {};
task checkstyleMain(overwrite: true) << {};
task checkstyleTest(overwrite: true) << {};
task checkstyleTools(overwrite: true) << {};

// ignore CodeNarc on examples
task codenarcExamples(overwrite: true) << {};
allprojects { p ->
group = 'org.codehaus.groovy'
version = groovyVersion
// tasks.withType(Checkstyle).all { t -> t.ignoreFailures = true }
// tasks.withType(CodeNarc).all { t -> t.ignoreFailures = true }
}
// suppress CheckStyle/CodeNarc
task checkstyleExamples(overwrite: true) << {}
task checkstyleMain(overwrite: true) << {}
task checkstyleTest(overwrite: true) << {}
task checkstyleTools(overwrite: true) << {}
task codenarcExamples(overwrite: true) << {}
// don't fail build on CodeNarc tasks
tasks.withType(CodeNarc).all { codeNarcTask ->
codeNarcTask.ignoreFailures = true
Expand Down

0 comments on commit d5a8543

Please sign in to comment.