Skip to content

Commit b10081f

Browse files
committed
update versions for testing
update max gradle to 8.6 update ktlint versions to be latest patch version of each minor version supported (0.47-1.2) update max AGP version to 8.4 update max kotlin version to 1.9.23
1 parent 582c9f5 commit b10081f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
1111
with any os [#738](https://github.com/JLLeitschuh/ktlint-gradle/pull/738)
1212
- fix [#750](https://github.com/JLLeitschuh/ktlint-gradle/issues/750): additionalEditorconfig property not being
1313
accounted for up-to-date checks and caching [#758](https://github.com/JLLeitschuh/ktlint-gradle/pull/758)
14+
- Update versions used for testing [#763](https://github.com/JLLeitschuh/ktlint-gradle/pull/763)
1415

1516
## [12.1.0] - 2024-01-09
1617

plugin/VERSION_LATEST_RELEASE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.0.3
1+
12.1.0

plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/tasks/BaseKtLintCheckTask.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ abstract class BaseKtLintCheckTask @Inject constructor(
5353
internal abstract val ktLintClasspath: ConfigurableFileCollection
5454

5555
@get:Internal
56+
@get:Deprecated("ktlint no longer supports this parameter")
5657
internal abstract val additionalEditorconfigFile: RegularFileProperty
5758

5859
@get:Input

plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtLintSupportedVersionsTest.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,13 @@ class KtLintSupportedVersionsTest : AbstractPluginTest() {
174174
class SupportedKtlintVersionsProvider : GradleArgumentsProvider() {
175175
private val supportedKtlintVersions = mutableListOf(
176176
"0.47.1",
177-
"0.48.0",
178-
"0.48.1",
179177
"0.48.2",
180178
// "0.49.0" did not expose needed baseline classes
181179
"0.49.1",
182180
"0.50.0",
183-
"1.0.0",
184181
"1.0.1",
185-
"1.1.0"
182+
"1.1.1",
183+
"1.2.1"
186184
)
187185

188186
override fun provideArguments(

plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/testdsl/TestAnnotations.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ import kotlin.streams.asStream
1212
@Suppress("ConstPropertyName")
1313
object TestVersions {
1414
const val minSupportedGradleVersion = KtlintBasePlugin.LOWEST_SUPPORTED_GRADLE_VERSION
15-
const val maxSupportedGradleVersion = "8.5"
15+
const val maxSupportedGradleVersion = "8.6"
1616
val pluginVersion = File("VERSION_CURRENT.txt").readText().trim()
1717
const val minSupportedKotlinPluginVersion = "1.4.32"
18-
const val maxSupportedKotlinPluginVersion = "1.9.21"
18+
const val maxSupportedKotlinPluginVersion = "1.9.23"
1919
const val minAgpVersion = "4.1.0"
20-
const val maxAgpVersion = "8.2.0"
20+
const val maxAgpVersion = "8.4.0"
2121
}
2222

2323
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)

0 commit comments

Comments
 (0)