This plugin adds dependencies to the test tasks, building the required jars and tracking them as inputs, but it passes the absolute paths to the test as systemProperties.
This plugin is key for:
Apply it:
plugins { id("compiler-test-convention") }
Add dependencies to the test classpath (kotlin-stdlib
, kotlin-stdlib-jvm-minimal-for-test
, and kotlin-reflect
are always added):
compilerTests { withStdlibCommon() withTestJar() withAnnotations() ... }