-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert gradle build scripts to kts #1449
Conversation
.configureEach { | ||
kotlinOptions { | ||
apiVersion = "1.4" | ||
apiVersion = "1.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
w: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't completely know the consequences of us increasing this apiVersion. Will some plugins etc become incompatible? @Tapchicoma ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the apiVersion is sync with Kotlin version by default.
# Conflicts: # ktlint-test/build.gradle
Ok, lets give this change a go and hope for the best. 🤞 |
@Goooler Tnx for your patience on this issue. Your contributions are welcome. Unfortunately, review and merging sometimes take a bit longer as I have little knowledge about these kind of changes. |
Description
Follow up #1428, convert Gradle build scripts to KTS to be type-safe.
https://docs.gradle.org/current/userguide/kotlin_dsl.html
Checklist
CHANGELOG.md
is updatedIn case of adding a new rule:
README.md
is updated