Closed pugazhendhit closed 3 years ago
You simply have to use
isPublish = true
or
setPublish(true)
Thanks, @jnizet.
Our Kotlin example in the docs is wrong. We're missing a few tests in PackagingDocumentationTests
as well.
@wilkinsona Note that the wrong publish
property is used in the plugin documentation. I'm working on a PR to fix it.
Closing in favor of PR #25454
I am using Kotlin + Spring Boot Gradle Project , Getting error Cannot access 'publish': it is private in 'BootBuildImage' when adding this BootBuildImage task plugin , any advise ?
build.gradle.kts:98:2: Cannot access 'publish': it is private in 'BootBuildImage'