:mega: For everyone that wants to try out <https:/...
# dokka
s
📣 For everyone that wants to try out 1.4.0-dev-35, but has issues migrating • I pushed a pull request to the kotlin-examples repository, updating all examples to the new APIs (PULL REQUEST) Common Issues: • Make sure to use the new Provider/Property API:
jdkVersion = 8
->
jdkVersion.set(8)
• Any path of type
String
is now represented as
<http://java.io|java.io>.File
• Any collection of files/directories is now represented as Gradles
ConfigurableFileCollection
• Make sure (especially in Android Projects) to configure Dokka tasks lazy:
tasks.withType<DokkaTask>() { // config }
->
tasks.withType<DokkaTask>().configureEach { }
,
tasks.getByName
->
tasks.named
,etc. Good read https://docs.gradle.org/current/userguide/task_configuration_avoidance.html • Note: MPP projects will have all source sets automatically configured. No need for
register
yourself! • Tip: Use
./gradlew --stacktrace
to get better error messages of what is wrong. I noticed, that the short error message for Groovy scripts is not useful at all And as always: Feel free to drop me a DM at any time you encounter an issue ☺️ Have fun, folks. Enjoy Kotlin 1.4.0 ☺️ 🎊
🎉 6
🔝 1
🙏 6
s
Love it! Finally, automatic configuration of source sets is alive and well. Well done, all! Looking forward to the full release!
❤️ 1
r
@Sebastian Sellmair [JB] thank you so much 🥇 The pull request and the list of common issues with all the tips were super useful for me!! 🎉
s
Glad that it helped 😊
🙌 1
r
@Sebastian Sellmair [JB] I already have some feedback about the Jekyll Plugin for
1.4.0-dev-35
here: https://github.com/arrow-kt/arrow/issues/2183#issuecomment-676517654 If there is a better way for you to manage it, please, let me know 🙌
s
Hey I'll get back to the original issue in a Moment, but before I forget it: I see you using
Copy code
dependencies {
    dokkaJekyllPlugin("org.jetbrains.dokka:jekyll-plugin:$DOKKA_VERSION")
}
Which is not harmful, but not required also ☺️ The jekyll plugin dependency will be automatically added. This
dokkaJekyllPlugin
configuration ist just for additional "on-top" dependencies that you would like to load (from external plugin authors)
r
Thank you so much!! 🙌
s
Regarding the frontend related issues. Let me tag some of my colleagues here, because I am an absolute
0
when it comes to frontend 🤷 @Kamil Doległo @Marcin Aman
r
Awesome, thank you!! 👍