Waldemar Kornewald
android { publishing { ... } }
withSourcesJar()
tapchicoma
Anton Lakotka [JB]
withSourcesJar(publish = false)
ephemient
tasks.named("...").configure { isEnabled = false }
afterEvaluate { ... }
tasks.findAll
tasks.withType<org.gradle.jvm.tasks.Jar>().configureEach { onlyIf("Do not publish sources") { archiveClassifier.getOrNull() != "sources" } }
afterEvaluate
A modern programming language that makes developers happier.