diff --git a/README.md b/README.md index e7251718..3abeeb9c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Available on the Gradle Plugins Portal: https://plugins.gradle.org/plugin/org.jm ```groovy plugins { - id 'org.jmailen.kotlinter' version '1.8.3' + id 'org.jmailen.kotlinter' version '1.9.0' } ``` @@ -72,7 +72,7 @@ Options are configured in the `kotlinter` extension. Defaults shown (you may omi kotlinter { ignoreFailures = false indentSize = 4 - continuationIndentSize = 8 + continuationIndentSize = 4 reporters = ['checkstyle', 'plain'] } ``` diff --git a/build.gradle b/build.gradle index d85014ef..6680e042 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ dependencies { testRuntime 'com.android.tools.build:gradle:3.0.1' } -version = '1.8.3' +version = '1.9.0' group = 'org.jmailen.gradle' def pluginId = 'org.jmailen.kotlinter' diff --git a/src/main/kotlin/org/jmailen/gradle/kotlinter/KotlinterExtension.kt b/src/main/kotlin/org/jmailen/gradle/kotlinter/KotlinterExtension.kt index acf72af1..17209bab 100644 --- a/src/main/kotlin/org/jmailen/gradle/kotlinter/KotlinterExtension.kt +++ b/src/main/kotlin/org/jmailen/gradle/kotlinter/KotlinterExtension.kt @@ -4,7 +4,7 @@ open class KotlinterExtension { companion object { const val DEFAULT_IGNORE_FAILURES = false const val DEFAULT_INDENT_SIZE = 4 - const val DEFAULT_CONTINUATION_INDENT_SIZE = 8 + const val DEFAULT_CONTINUATION_INDENT_SIZE = 4 val DEFAULT_REPORTER = ReporterType.checkstyle.name }