Skip to content

Commit

Permalink
Prepare version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Aug 2, 2017
1 parent ba8cc1f commit d17bad3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Change Log

Version 0.7.0 *(In development)*
--------------------------------
Version 0.7.0 *(2017-08-02)*
---------------------------

- Change task execution order to have Lint & Findbugs at the end. [\#76](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/76) ([vanniktech](https://github.com/vanniktech))
- ktlint task: Generate checkstyle report. [\#74](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/74) ([vanniktech](https://github.com/vanniktech))
- Update ktlint to 0.9.1 [\#73](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/73) ([vanniktech](https://github.com/vanniktech))
- Specify multiple inclusion/exclusion patterns [\#72](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/72) ([budnyjj](https://github.com/budnyjj))
- Fix configuration for gradlePluginVersion. [\#71](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/71) ([vanniktech](https://github.com/vanniktech))
- Update Detekt to 1.0.0.M13.2 [\#70](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/70) ([vanniktech](https://github.com/vanniktech))

Version 0.6.0 *(2017-07-08)*
----------------------------
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.6.0'
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.7.0'
}
}
Expand Down Expand Up @@ -63,8 +63,8 @@ codeQualityTools {
ignoreFailures = null // type Boolean
showViolations // type Boolean
source = 'src' // type String
include = '**/*.java' // type String
exclude = '**/gen/**' // type String
include = ['**/*.java'] // type List<String>
exclude = ['**/gen/**'] // type List<String>
}
pmd {
Expand All @@ -73,8 +73,8 @@ codeQualityTools {
ruleSetFile = 'code_quality_tools/pmd.xml' // type String
ignoreFailures = null // type Boolean
source = 'src' // type String
include = '**/*.java' // type String
exclude = '**/gen/**' // type String
include = ['**/*.java'] // type List<String>
exclude = ['**/gen/**'] // type List<String>
}
lint {
Expand All @@ -94,14 +94,12 @@ codeQualityTools {
detekt {
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
Expand All @@ -111,13 +109,22 @@ codeQualityTools {
errorProne {
enabled = true // type boolean
gradlePluginVersion = '0.0.10' // type String
toolVersion = '2.0.20' // type String
}
}
```

In order to specify Gradle Versions for Plugins (Detekt, ErrorProne or CPD), you'll need to do that using `gradle.properties`:

```groovy
# We need to define those here since adding Gradle Plugins is only allowed before afterEvaluate.
# Defining values with custom extensions are not visible at this prior step though.
codeQualityTools.detekt.gradlePluginVersion = 1.0.0.M13.2
codeQualityTools.errorProne.gradlePluginVersion = 0.0.10
codeQualityTools.cpd.gradlePluginVersion = 1.0
```

# License

Copyright (C) 2016 Vanniktech - Niklas Baudy
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.vanniktech
VERSION_NAME=0.7.0-SNAPSHOT
VERSION_NAME=0.7.0

POM_ARTIFACT_ID=gradle-code-quality-tools-plugin
POM_NAME=Gradle Code Quality Tools Plugin
Expand Down

0 comments on commit d17bad3

Please sign in to comment.