Skip to content

Commit

Permalink
update versions for testing
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wakingrufus committed May 7, 2024
1 parent 582c9f5 commit b10081f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
with any os [#738](https://github.com/JLLeitschuh/ktlint-gradle/pull/738)
- fix [#750](https://github.com/JLLeitschuh/ktlint-gradle/issues/750): additionalEditorconfig property not being
accounted for up-to-date checks and caching [#758](https://github.com/JLLeitschuh/ktlint-gradle/pull/758)
- Update versions used for testing [#763](https://github.com/JLLeitschuh/ktlint-gradle/pull/763)

## [12.1.0] - 2024-01-09

Expand Down
2 changes: 1 addition & 1 deletion plugin/VERSION_LATEST_RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.0.3
12.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ abstract class BaseKtLintCheckTask @Inject constructor(
internal abstract val ktLintClasspath: ConfigurableFileCollection

@get:Internal
@get:Deprecated("ktlint no longer supports this parameter")
internal abstract val additionalEditorconfigFile: RegularFileProperty

@get:Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,13 @@ class KtLintSupportedVersionsTest : AbstractPluginTest() {
class SupportedKtlintVersionsProvider : GradleArgumentsProvider() {
private val supportedKtlintVersions = mutableListOf(
"0.47.1",
"0.48.0",
"0.48.1",
"0.48.2",
// "0.49.0" did not expose needed baseline classes
"0.49.1",
"0.50.0",
"1.0.0",
"1.0.1",
"1.1.0"
"1.1.1",
"1.2.1"
)

override fun provideArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import kotlin.streams.asStream
@Suppress("ConstPropertyName")
object TestVersions {
const val minSupportedGradleVersion = KtlintBasePlugin.LOWEST_SUPPORTED_GRADLE_VERSION
const val maxSupportedGradleVersion = "8.5"
const val maxSupportedGradleVersion = "8.6"
val pluginVersion = File("VERSION_CURRENT.txt").readText().trim()
const val minSupportedKotlinPluginVersion = "1.4.32"
const val maxSupportedKotlinPluginVersion = "1.9.21"
const val maxSupportedKotlinPluginVersion = "1.9.23"
const val minAgpVersion = "4.1.0"
const val maxAgpVersion = "8.2.0"
const val maxAgpVersion = "8.4.0"
}

@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
Expand Down

0 comments on commit b10081f

Please sign in to comment.