Coroutines Java Agent Value Source
abstract class CoroutinesJavaAgentValueSource : ValueSource<File, CoroutinesJavaAgentValueSource.Parameters>
A Gradle ValueSource that creates a Kotlin Coroutines Java Agent JAR file for debugging purposes.
This value source dynamically creates a minimal JAR file containing only the manifest needed to enable the Kotlin Coroutines debugging agent. The agent allows for enhanced debugging capabilities when working with coroutines in IntelliJ Platform-based applications.
The implementation:
Scans the IntelliJ Platform JARs to find the appropriate coroutines agent class
Creates a JAR file with a manifest that specifies the found agent as the Premain-Class
Returns the created JAR file for use as a
-javaagentparameter
See also
Value Source