[
https://issues.apache.org/jira/browse/SOLR-17572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christos Malliaridis updated SOLR-17572:
----------------------------------------
Labels: gradle newdev (was: gradle)
> Migrate Gradle files to use Kotlin DSL
> --------------------------------------
>
> Key: SOLR-17572
> URL: https://issues.apache.org/jira/browse/SOLR-17572
> Project: Solr
> Issue Type: Improvement
> Reporter: Christos Malliaridis
> Priority: Minor
> Labels: gradle, newdev
>
> Starting with Gradle 8.2, generating new projects via `gradle init` uses
> Kotlin DSL as default. The switch from Groovy to Kotlin DSL for new Gradle
> projects was made because Kotlin DSL comes with very useful features,
> including:
> - auto-completion and content assist
> - quick documentation
> - navigation to source
> - refactoring and more
> One of the reasons we avoided a migration to Kotlin DSL was the syncing with
> the Lucene project, which, as the time passes, is less and less necessary.
> Therefore, we can consider moving forward to migrate the Groovy-scripts to
> Kotlin DSL, either one by one or all together.
> For more information see:
> [Kotlin DSL is Now the Default for New Gradle
> Builds|https://blog.gradle.org/kotlin-dsl-is-now-the-default-for-new-gradle-builds#current-limitations-and-next-steps]
> (Blog from 2023)
> [Migrating build logic from Groovy to
> Kotlin|https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html]
> (Gradle docs)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]