apply kotlin-dsl plugin#2702
Conversation
…ser matching usage in gradle.kts files)
|
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.ktsfiles