Created
April 3, 2024 23:47
-
-
Save carl-mastrangelo/2f55556e32a1c2e3787391a1ba6b9bd2 to your computer and use it in GitHub Desktop.
Debug Javac and Annotation Processors On Gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.withType<JavaCompile> { | |
options.setFork(true) | |
options.forkOptions.jvmArgs = listOf("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.0.1:5009") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment