Repository navigation
Description
Why. Gemstone (LogitAI/Gemstone), a thisisthepy consumer, builds with this plugin (1.11.1-ext.3) on Gradle 8.13. The plugin never states which Gradle versions it supports, and it isn't tested on 8.x.
What exists today.
gradle-plugins/gradle.propertiestestscompose.tests.gradle.versions=9.3.1, 9.5.0with AGP 9.1.1 and 9.2.0.extended-plugin-integration.ymlruns Gradle 9.5.0 with AGP 9.2.0 only, on push toextendedand on demand.- The plugin's own code has no Gradle floor except Compose resources publication, which needs 7.6 or later (
ComposeResources.kt). - The plugin's build itself uses Gradle 9.5.0.
What fails, and why. These are local runs (macOS arm64) of GradlePluginTest, on Gradle 8.13 and on 9.3.1:
| Gradle | Failed | Of |
|---|---|---|
| 9.3.1 | 8 | 10 |
| 8.13 | 9 | 10 |
The only test that fails on 8.13 alone is testOldComposePluginError. The other failures are the same on both versions and have nothing to do with Gradle 8:
- The published fork Compose doesn't resolve. Test projects using
org.thisisthepy.compose.*:1.11.1-ext.2fail with:That comes fromNo matching variant of org.jetbrains.kotlinx:kotlinx-browser:0.5.0 ... (JVM runtime)ui-toolingthroughui, on the JVM. They also fail withNo matching variant of androidx.compose.ui:ui:1.11.2for JS. - Kotlin/JS internal compiler error in
compileKotlinJs. - 8.13 only: the AGP pairing.
com.android.kotlin.multiplatform.library9.1.1 refuses with "Minimum supported Gradle version is 9.3.1". So an 8.x cell needs an AGP 8.x.
A wider unfiltered 8.13 run (with the AGP 9.1.1 pairing) failed 79 integration tests. Per the table above, most of those come from causes 1 and 2, not from 8.13. extended-plugin-integration.yml has also been red on extended since at least 10-24 (runs 40060100300 to 40153822674).
What does work on 8.13: the native-image tasks are configuration-cache clean on 8.13 and on 9.3.1 with #76.
Recommendation for 1.0. Support Gradle 8.13 and later, because thisisthepy's own consumer is on 8.13. Concretely:
- Fix the baseline first: make the integration suite green on 9.5.0. That means the published-artifact metadata (
kotlinx-browseron JVM,androidx.compose.ui:uifor JS) and the JS compile error. Without that, no Gradle cell tells us anything. - Add an 8.13 cell, paired with an AGP 8.x that supports Gradle 8.13, to
compose.tests.gradle.versionsand toextended-plugin-integration.yml. - State the range (Gradle 8.13 and later, with the AGP pairing) in the README, and fail early below it with a clear message.
Dropping 8.x would mean Gemstone and any other 8.x consumer has to upgrade to Gradle 9.3 or later before taking 1.0. That is the owner's decision.
Done when. The supported range is written down. The integration workflow is green on both ends of that range. Below the range the plugin fails with a message that names the range.
Activity
Feat: Run libraries built against JetBrains' Compose on the fork's
Fix: Check a skiko request the fork's skiko-awt answers against its s…