Skip to content

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

Open
cdsap wants to merge 1 commit into
mainfrom
issue/441-hermes-drop-android-newdsl-false-for-agp-9-a1
Open

fix: drop android.newdsl=false for agp 9#442
cdsap wants to merge 1 commit 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.

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