Instrument Code Task
Executes the code instrumentation using the Ant tasks provided by the used IntelliJ Platform dependency.
The code instrumentation scans the compiled Java and Kotlin classes for JetBrains Annotations usages to replace them with their relevant functionalities.
The task is controlled with the IntelliJPlatformExtension.instrumentCode extension property, enabled by default. To properly run the instrumentation, it is required to add IntelliJPlatformDependenciesExtension.instrumentationTools dependencies to the project.
This dependency is available via the IntelliJPlatformRepositoriesExtension.intellijDependencies repository, which can be added separately or using the IntelliJPlatformRepositoriesExtension.defaultRepositories helper.
Properties
Specifies the list of directories with compiled classes.
Enables INFO logging when running Ant tasks.
Java Compiler configuration.
Specifies the output directory for instrumented classes.
Specifies the location of the source code.
Specifies the compile classpath of the project's source set.