Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tested versions for integration tests #2739

Closed
wants to merge 1 commit into from

Conversation

IgnatBeresnev
Copy link
Member

No description provided.

@@ -17,7 +17,7 @@ class StdlibGradleIntegrationTest(override val versions: BuildVersions) : Abstra
@get:JvmStatic
@get:Parameterized.Parameters(name = "{0}")
val versions = BuildVersions.permutations(
gradleVersions = listOf("5.6"),
gradleVersions = listOf("6.7.1"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change and reason for this PR. Looks like Gradle 5 does not support Kotlin DSL plugin, see #2702

I think our minimum supported Gradle version should be the same as in KGP, which is 6.7.1, so there's no point testing against 5.6

Comment on lines -20 to +30
gradleVersions = listOf("7.4.2", *ifExhaustive("7.0")),
androidGradlePluginVersions = listOf("7.3.0"),
gradleVersions = listOf("7.5.1"),
kotlinVersions = listOf("1.7.20", "1.6.21", "1.5.31", "1.4.32"),
androidGradlePluginVersions = listOf("7.2.0")
) + BuildVersions.permutations(
gradleVersions = listOf("6.9", *ifExhaustive("6.1.1", "5.6.4")),
androidGradlePluginVersions = listOf("4.2.0"),
gradleVersions = listOf("6.7.1"),
kotlinVersions = listOf("1.7.20", "1.6.21", "1.5.31", "1.4.32"),
androidGradlePluginVersions = listOf("4.0.0", *ifExhaustive("3.6.3"))
) + BuildVersions.permutations(
androidGradlePluginVersions = listOf(*ifExhaustive("3.6.4")),
gradleVersions = listOf(*ifExhaustive("6.7.1")),
kotlinVersions = listOf(*ifExhaustive("1.7.20", "1.6.21", "1.5.31", "1.4.32")),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some changes which should hopefully be compatible. This may help repair isExhaustive flagged runs.

  1. Latest AGP with latest Gradle and supported Kotlin versions. Version 7 of AGP works with Gradle 7 only
  2. Previous major AGP version with its supported Gradle version (AGP 4.2+ works with Gradle 6.7)
  3. Really old version of AGP, not sure if it'll work

@aSemy
Copy link
Contributor

aSemy commented Jan 29, 2023

The tests in #2702 are now passing - so perhaps this PR isn't needed? Although dropping support for ancient Gradle versions is not a bad thing!

@IgnatBeresnev
Copy link
Member Author

IgnatBeresnev commented Jan 29, 2023

@aSemy the tests are passing because of #2826 - they're just not run at all :) See the build scan

@IgnatBeresnev
Copy link
Member Author

IgnatBeresnev commented Feb 1, 2023

There will be merge conflicts after updating to 1.8.0, and it should be revisited after merging #2841 anyway, so I'm closing it for now, but will either re-open it or make a new one after the 1.8.10 release.

@IgnatBeresnev IgnatBeresnev deleted the update-integration-test-versions branch February 1, 2023 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants