Skip to content

fix: drop android.newdsl=false for agp 9 - #442

Merged
cdsap merged 2 commits into
mainfrom
issue/441-hermes-drop-android-newdsl-false-for-agp-9-a1
Sep 5, 2026
Merged

fix: drop android.newdsl=false for agp 9#442
cdsap merged 2 commits into
mainfrom
issue/441-hermes-drop-android-newdsl-false-for-agp-9-a1

Conversation

@cdsap

@cdsap cdsap commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

Evaluate if we can drop android.newDsl=false for projects generated with AGP9+.
We need to generate projects without the property and test that the project compiles, and hits the configuration cache for the different variants of DI

Fixes #441

Changes

  • .github/workflows/build.yml
  • .github/workflows/update-gradle-versions.yml
  • project-generator/src/main/kotlin/io/github/cdsap/projectgenerator/generator/rootproject/GradleProperties.kt
  • project-generator/src/test/kotlin/io/github/cdsap/projectgenerator/Agp9NewDslDiVariantsE2EValidationTest.kt
  • project-generator/src/test/kotlin/io/github/cdsap/projectgenerator/generator/files/GradlePropertiesTest.kt

Verification

  • ./gradlew :project-generator:unitTest
  • ./gradlew :cli:test
  • ./gradlew ktlintCheck

@cdsap

cdsap commented Sep 4, 2026

Copy link
Copy Markdown
Owner Author

@cdsap PR Judge blocked this PR for manual review.

State: BLOCKED_DANGEROUS_DIFF
Reason: protected path changes: .github/workflows/build.yml, .github/workflows/update-gradle-versions.yml

The judge will not auto-merge this PR until the risky diff is reviewed manually.

Metro Gradle plugin 1.4.2 requires JVM 21, but Gradle TestKit runs on
the test JVM. Skip the Metro variant when CI executes on JDK 17.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cdsap
cdsap merged commit 9f32607 into main Sep 5, 2026
14 checks passed
@cdsap
cdsap deleted the issue/441-hermes-drop-android-newdsl-false-for-agp-9-a1 branch September 5, 2026 15:31
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.

Drop android.newDsl=false for AGP 9

1 participant