Skip to content

Commit 778f485

Browse files
committed
Use latest version-compatibility plugin
1 parent 6b2e2c3 commit 778f485

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

lib/build.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ dependencies {
9191
compatKtLint0Dot47Dot0CompileOnly 'com.pinterest.ktlint:ktlint-core:0.47.0'
9292
compatKtLint0Dot47Dot0CompileOnly 'com.pinterest.ktlint:ktlint-ruleset-experimental:0.47.0'
9393
compatKtLint0Dot47Dot0CompileOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.47.0'
94-
compatKtLint0Dot48Dot0CompileOnly 'com.pinterest.ktlint:ktlint-core:0.48.0'
95-
compatKtLint0Dot48Dot0CompileOnly 'com.pinterest.ktlint:ktlint-ruleset-experimental:0.48.0'
96-
compatKtLint0Dot48Dot0CompileOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.48.0'
94+
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-core:0.48.0'
95+
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-experimental:0.48.0'
96+
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.48.0'
9797

9898
String VER_SCALAFMT="3.6.1"
9999
scalafmtCompileOnly "org.scalameta:scalafmt-core_2.13:$VER_SCALAFMT"
@@ -105,10 +105,6 @@ dependencies {
105105
flexmarkCompileOnly 'com.vladsch.flexmark:flexmark-all:0.62.2'
106106
}
107107

108-
configurations.named('testCompatKtLint0Dot48Dot0Implementation').configure {
109-
extendsFrom(configurations.compatKtLint0Dot48Dot0CompileOnly)
110-
}
111-
112108
// we'll hold the core lib to a high standard
113109
spotbugs { reportLevel = 'low' } // low|medium|high (low = sensitive to even minor mistakes)
114110

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pluginManagement {
1616
// https://github.com/radarsh/gradle-test-logger-plugin/blob/develop/CHANGELOG.md
1717
id 'com.adarshr.test-logger' version '3.2.0'
1818
// https://github.com/davidburstrom/version-compatibility-gradle-plugin/tags
19-
id 'io.github.davidburstrom.version-compatibility' version '0.3.0'
19+
id 'io.github.davidburstrom.version-compatibility' version '0.4.0'
2020
}
2121
}
2222
plugins {

0 commit comments

Comments
 (0)