Skip to content

Commit

Permalink
Prepare version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Jul 7, 2017
1 parent e63903f commit 3bf2ac4
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 11 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Change Log

Version 0.6.0 *(In development)*
--------------------------------
Version 0.6.0 *(2017-07-08)*
----------------------------

- Add ErrorProne. [\#64](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/64) ([vanniktech](https://github.com/vanniktech))
- Add CPD. [\#63](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/63) ([vanniktech](https://github.com/vanniktech))
- Add detekt. [\#62](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/62) ([vanniktech](https://github.com/vanniktech))

Version 0.5.0 *(2017-07-01)*
----------------------------
Expand Down
37 changes: 31 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
![Java 7 required](https://img.shields.io/badge/java-7-brightgreen.svg)

Gradle plugin that generates Findbugs-, Checkstyle- and PMD Tasks for every subproject. In Android projects Lint will also be configured. All of the taks will also automatically hook into the build lifecycle.
Gradle plugin that generates [ErrorProne](http://errorprone.info/), [Findbugs](http://findbugs.sourceforge.net/), [Checkstyle](http://checkstyle.sourceforge.net/), [PMD](https://pmd.github.io/), [CPD](https://pmd.github.io/pmd-5.8.0/usage/cpd-usage.html), [Lint](https://developer.android.com/studio/write/lint.html), [Detekt](https://github.com/arturbosch/detekt) & [Ktlint](https://github.com/shyiko/ktlint) Tasks for every subproject. In Android projects Lint will also be configured. All of the taks will also automatically hook into the build lifecycle.

Works with the latest Gradle Android Tools version 2.1.3. This plugin is compiled using Java 7 hence you also need Java 7 in order to use it.
Works with the latest Gradle Android Tools version 2.3.3. This plugin is compiled using Java 7 hence you also need Java 7 in order to use it.

# Set up

Expand All @@ -17,7 +17,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.5.0'
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.6.0'
}
}
Expand All @@ -43,13 +43,14 @@ codeQualityTools {
failEarly = true // type boolean
xmlReports = true // type boolean
htmlReports = false // type boolean
textReports = false // type boolean
ignoreProjects = [] // type String array
findbugs {
enabled = true // type boolean
toolVersion = '3.0.1' // type String
excludeFilter = 'code_quality_tools/findbugs-filter.xml' // type String
ignoreFailures // type Boolean
ignoreFailures = null // type Boolean
source = 'src' // type String
effort = 'max' // type String
reportLevel = 'low' // type String
Expand All @@ -59,7 +60,7 @@ codeQualityTools {
enabled = true // type boolean
toolVersion = '7.8.2' // type String
configFile = 'code_quality_tools/checkstyle.xml' // type String
ignoreFailures // type Boolean
ignoreFailures = null // type Boolean
showViolations // type Boolean
source = 'src' // type String
include = '**/*.java' // type String
Expand All @@ -70,7 +71,7 @@ codeQualityTools {
enabled = true // type boolean
toolVersion = '5.8.1' // type String
ruleSetFile = 'code_quality_tools/pmd.xml' // type String
ignoreFailures // type Boolean
ignoreFailures = null // type Boolean
source = 'src' // type String
include = '**/*.java' // type String
exclude = '**/gen/**' // type String
Expand All @@ -82,13 +83,37 @@ codeQualityTools {
textOutput = 'stdout' // type String
abortOnError = null // type Boolean
warningsAsErrors = null // type Boolean
checkAllWarnings = null // type Boolean
baselineFileName = null // type String
}
ktlint {
enabled = true // type boolean
toolVersion = '0.8.3' // type String
}
detext {
enabled = true // type boolean
gradlePluginVersion = '1.0.0.M12.3' // type String
toolVersion = '1.0.0.M12.3' // type String
config = 'code_quality_tools/detekt.yml' // type String
}
cpd {
enabled = true // type boolean
gradlePluginVersion = '1.0' // type String
toolVersion = '5.4.2' // type String
source = 'src' // type String
language = 'java' // type String
ignoreFailures = null // type Boolean
minimumTokenCount = 50 // type int
}
errorProne {
enabled = true // type boolean
gradlePluginVersion = '0.0.10' // type String
toolVersion = '2.0.20' // type String
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pluginBundle {
codeQualityTools {
id = 'com.vanniktech.code.quality.tools'
displayName = POM_NAME
tags = ['gradle', 'android', 'java', 'findbugs', 'pmd', 'checkstyle', 'errorprone', 'multiprojects', 'app module', 'library module', 'lint']
tags = ['gradle', 'android', 'java', 'findbugs', 'pmd', 'cpd', 'detekt', 'kotlin', 'ktlint', 'checkstyle', 'errorprone', 'multiprojects', 'app module', 'library module', 'lint']
description = POM_DESCRIPTION
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
GROUP=com.vanniktech
VERSION_NAME=0.6.0-SNAPSHOT
VERSION_NAME=0.6.0

POM_ARTIFACT_ID=gradle-code-quality-tools-plugin
POM_NAME=Gradle Code Quality Tools Plugin
POM_PACKAGING=jar

POM_DESCRIPTION=Gradle plugin that Gradle plugin that generates Findbugs-, Checkstyle- and PMD Tasks for every subproject.
POM_DESCRIPTION=Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.
POM_INCEPTION_YEAR=2016

POM_URL=http://github.com/vanniktech/gradle-code-quality-tools-plugin/
Expand Down

0 comments on commit 3bf2ac4

Please sign in to comment.