-
Notifications
You must be signed in to change notification settings - Fork 427
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
apply kotlin-dsl plugin #2702
apply kotlin-dsl plugin #2702
Conversation
…ser matching usage in gradle.kts files)
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.
Seems innocent and useful enough, thanks!
I'll start some lengthy gradle integration tests just in case, the PR can be merged once they all pass
My pleasure! For reference the results of applying One of the changes that isn't explicitly stated is that the Kotlin language level will be changed to 1.4, to match the compatibility defined here: https://docs.gradle.org/current/userguide/compatibility.html#kotlin |
Looks like integration tests fail for Gradle 5.6, but I don't think we have to support it as KGP supports 6.7.1 onwards.
I've made an attempt to fix it in #2739, need to wait until it gets merged and rebased onto |
An update on this: I like the change and the DSL, but we cannot merge it until after the 1.8.10 release, but it should hopefully be soon. The reason is that |
…sl_plugin # Conflicts: # runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaConfigurationJsonTest.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaConfigurationSerializableTest.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaTaskTest.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilderTest.kt # runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/KotlinDslDokkaTaskConfigurationTest.kt
The stdlib integration tests has been removed, so this PR has been unblocked (finally) 🎉 I've tested this branch locally with the latest master, all the tests pass, so I'm merging it |
Part of #2700
apply kotlin-dsl plugin, and update code to use idiomatic Gradle API
This helps because the code in the plugin will more closely match the code used in
*.gradle.kts
files