Skip to content

Converting a third set of Groovy Gradle files to Kotlin DSL#5659

Open
Amir-yazdanmanesh wants to merge 1 commit intobumptech:masterfrom
Amir-yazdanmanesh:kotlin-dsl-migration-third-set
Open

Converting a third set of Groovy Gradle files to Kotlin DSL#5659
Amir-yazdanmanesh wants to merge 1 commit intobumptech:masterfrom
Amir-yazdanmanesh:kotlin-dsl-migration-third-set

Conversation

@Amir-yazdanmanesh
Copy link

Description

Converts 3 more Groovy .gradle files to Kotlin DSL (.gradle.kts):

  • annotation/compiler/test/build.gradle
  • library/build.gradle
  • library/pmd/build.gradle

Removed targetSdk and versionName from library modules as they are
deprecated/removed in AGP 8+ library DSL. Converted classPathForQuality()
method to an extra property for cross-project access from :library:pmd.

Remaining Groovy files (build.gradle root and glide/build.gradle) are
left for a follow-up due to complex dynamic Groovy patterns.

Motivation and Context

Continuing the Kotlin DSL migration started in 37a9550 and 5e15812.
Kotlin DSL provides better IDE support, type safety, and refactoring
capabilities compared to Groovy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant