Skip to content

Commit 145c2d5

Browse files
committed
Prepare version 0.18.0
1 parent a9b97f5 commit 145c2d5

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Change Log
22

3-
Version 0.18.0 *(In development)*
4-
---------------------------------
3+
Version 0.18.0 *(2019-04-18)*
4+
-----------------------------
5+
6+
- Support ktlint's experimental flag and update default version to 0.31.0 [\#186](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/186) ([vanniktech](https://github.com/vanniktech))
7+
- Nuke Findbugs. [\#185](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/185) ([vanniktech](https://github.com/vanniktech))
8+
- Fix README link now that everything is in Kotlin. [\#184](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/184) ([vanniktech](https://github.com/vanniktech))
9+
- Gradle 5 is required [\#183](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/183) ([vanniktech](https://github.com/vanniktech))
10+
- Detekt: Support RC13 + RC14. [\#180](https://github.com/vanniktech/gradle-code-quality-tools-plugin/pull/180) ([vanniktech](https://github.com/vanniktech))
511

612
Version 0.17.0 *(2019-02-18)*
713
-----------------------------

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gradle-code-quality-tools-plugin
22

3-
Gradle plugin that configures [Error Prone](http://errorprone.info/), [Findbugs](http://findbugs.sourceforge.net/), [Checkstyle](http://checkstyle.sourceforge.net/), [PMD](https://pmd.github.io/), [CPD](https://pmd.github.io/pmd-6.0.0/#cpd), [Lint](https://developer.android.com/studio/write/lint.html), [Detekt](https://github.com/arturbosch/detekt) & [Ktlint](https://github.com/shyiko/ktlint). All of these tools are also automatically hooked into the `check` gradle task. Below, I'll go more into depth how each of those plugins are configured.
3+
Gradle plugin that configures [Error Prone](http://errorprone.info/), [Checkstyle](http://checkstyle.sourceforge.net/), [PMD](https://pmd.github.io/), [CPD](https://pmd.github.io/pmd-6.0.0/#cpd), [Lint](https://developer.android.com/studio/write/lint.html), [Detekt](https://github.com/arturbosch/detekt) & [Ktlint](https://github.com/shyiko/ktlint). All of these tools are also automatically hooked into the `check` gradle task. Below, I'll go more into depth how each of those plugins are configured.
44

55
This plugin requires Gradle 5.0 or later.
66

@@ -16,7 +16,7 @@ buildscript {
1616
gradlePluginPortal()
1717
}
1818
dependencies {
19-
classpath "com.vanniktech:gradle-code-quality-tools-plugin:0.17.0"
19+
classpath "com.vanniktech:gradle-code-quality-tools-plugin:0.18.0"
2020
}
2121
}
2222
@@ -54,15 +54,6 @@ codeQualityTools {
5454
boolean textReports = false
5555
String[] ignoreProjects = []
5656
57-
findbugs {
58-
boolean enabled = true
59-
String toolVersion = '3.0.1'
60-
String excludeFilter = 'code_quality_tools/findbugs-filter.xml'
61-
Boolean ignoreFailures = null
62-
String source = 'src'
63-
String effort = 'max'
64-
String reportLevel = 'low'
65-
}
6657
checkstyle {
6758
boolean enabled = true
6859
String toolVersion = '8.6'
@@ -99,12 +90,14 @@ codeQualityTools {
9990
ktlint {
10091
boolean enabled = true
10192
String toolVersion = '0.14.0'
93+
boolean experimental = false
10294
}
10395
detekt {
10496
boolean enabled = true
10597
String toolVersion = '1.0.0.RC6'
10698
String config = 'code_quality_tools/detekt.yml'
10799
String baselineFileName = null
100+
boolean failFast = true
108101
}
109102
cpd {
110103
boolean enabled = true
@@ -131,10 +124,6 @@ Here I'll give a bit more information about how each of the tools will be applie
131124

132125
It'll apply the [Error Prone Gradle Plugin](https://github.com/tbroyer/gradle-errorprone-plugin) which will run together with `assemble`. There's no report generated for this but you'll get compile warnings & errors.
133126

134-
### Findbugs
135-
136-
It'll apply the [Findbugs Plugin](https://docs.gradle.org/current/userguide/findbugs_plugin.html) and generate the `findbugs` task that will execute findbugs. The configuration properties of `codeQualityTools -> findbugs` mirror the [properties from the plugin](https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.FindBugsExtension.html).
137-
138127
### Checkstyle
139128

140129
It'll apply the [Checkstyle Plugin](https://docs.gradle.org/current/userguide/checkstyle_plugin.html) and generate the `checkstyle` task that will execute checkstyle. The configuration properties of `codeQualityTools -> checkstyle` mirror the [properties from the plugin](https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.html).

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.vanniktech
2-
VERSION_NAME=0.18.0-SNAPSHOT
2+
VERSION_NAME=0.18.0
33

44
POM_ARTIFACT_ID=gradle-code-quality-tools-plugin
55
POM_NAME=Gradle Code Quality Tools Plugin

0 commit comments

Comments
 (0)