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
minor tidy up of buildSrc convention plugins #3162
Conversation
Merge same config blocks. Use Kotlin DSL accessors and Gradle config avoidance API
I actually think we could remove the javadoc stuff.. It's not used, right @sksamuel ? |
Javadoc is required for Maven Central publishing, that might be why? |
Ah, okay.. I had a discussion with Jetbrains about some issues with included builds that they hinted might be caused by the usage of java-library/javadoc plugins. I haven't gotten around to trying out removing them, but this could be another problem we run into then. 😄 |
Ahh yeah, so it would be best to remove the While you could add Dokka HTML/Javadoc in the Javadoc jar, I don't really see the point. It really slows down the build, and how many people are going to unzip it and look at the contents, vs looking at the Kotest website? Especially since the source-jar is included, so that includes the documentation. |
I removed the |
We need to generate the jar at least for publication. |
As long as we create an empty one it'll work - as maven central insists on one. |
Some minor config updates
tasks.javadoc
forEach {}
withconfigureEach {}
publications.withType<MavenPublication>().configureEach {}
was in there twice)