Skip to content

Commit f5e9069

Browse files
committed
Remove glue for older Ktlint versions
1 parent f3d5c5d commit f5e9069

File tree

15 files changed

+3
-821
lines changed

15 files changed

+3
-821
lines changed

lib/build.gradle

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ versionCompatibility {
4747
// we will support no more than 2 breaking changes at a time = 3 incompatible versions
4848
// we will try to drop down to only one version if a stable API can be maintained for a full year
4949
versions = [
50-
'0.48.0',
51-
'0.49.0',
52-
'0.50.0',
5350
'1.0.0',
5451
]
5552
targetSourceSetName = 'ktlint'
@@ -110,18 +107,6 @@ dependencies {
110107
strictly '1.7' // for JDK 8 compatibility
111108
}
112109
}
113-
// ktlint oldest supported version
114-
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-core:0.48.0'
115-
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-experimental:0.48.0'
116-
compatKtLint0Dot48Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.48.0'
117-
// ktlint previous supported version
118-
compatKtLint0Dot49Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:0.49.0'
119-
compatKtLint0Dot49Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.49.0'
120-
compatKtLint0Dot49Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.17'
121-
// ktlint previous supported version
122-
compatKtLint0Dot50Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:0.50.0'
123-
compatKtLint0Dot50Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.50.0'
124-
compatKtLint0Dot50Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.17'
125110
// ktlint latest supported version
126111
compatKtLint1Dot0Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:1.0.0'
127112
compatKtLint1Dot0Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:1.0.0'

lib/src/compatKtLint0Dot48Dot0/java/com/diffplug/spotless/glue/ktlint/compat/KtLintCompat0Dot48Dot0Adapter.java

Lines changed: 0 additions & 157 deletions
This file was deleted.

lib/src/compatKtLint0Dot49Dot0/java/com/diffplug/spotless/glue/ktlint/compat/KtLintCompat0Dot49Dot0Adapter.java

Lines changed: 0 additions & 206 deletions
This file was deleted.

0 commit comments

Comments
 (0)