api / org.gradle.api.tasks.compile / GroovyCompileOptions / isKeepStubs

isKeepStubs

@Input open fun isKeepStubs(): Boolean

Tells whether Java stubs for Groovy classes generated during Java/Groovy joint compilation should be kept after compilation has completed. Useful for joint compilation debugging purposes. Defaults to false.