Skip to content

Instantly share code, notes, and snippets.

@bluepapa32
Created May 6, 2011 15:19
Show Gist options
  • Save bluepapa32/959139 to your computer and use it in GitHub Desktop.
Save bluepapa32/959139 to your computer and use it in GitHub Desktop.
Gradle の Code Quality プラグインでエラーを無視する
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'code-quality'
repositories {
mavenCentral()
}
dependencies {
groovy 'org.codehaus.groovy:groovy:1.7.10'
testCompile 'junit:junit:4.+'
}
// エラーがあっても無視...
[checkstyleMain, checkstyleTest, codenarcMain, codenarcTest]*.ignoreFailures = true
@bluepapa32
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment