1 val junitVersion: String by project 2 val kotlinBaseVersion: String by project 3 val agpBaseVersion: String by project 4 <lambda>null5plugins { 6 kotlin("jvm") 7 } 8 <lambda>null9dependencies { 10 testImplementation("junit:junit:$junitVersion") 11 testImplementation(gradleTestKit()) 12 testImplementation("org.jetbrains.kotlin:kotlin-compiler:$kotlinBaseVersion") 13 } 14 <lambda>null15tasks.named<Test>("test") { 16 systemProperty("kotlinVersion", kotlinBaseVersion) 17 systemProperty("kspVersion", version) 18 systemProperty("agpVersion", agpBaseVersion) 19 systemProperty("testRepo", File(rootProject.buildDir, "repos/test").absolutePath) 20 dependsOn(":api:publishAllPublicationsToTestRepository") 21 dependsOn(":gradle-plugin:publishAllPublicationsToTestRepository") 22 dependsOn(":symbol-processing:publishAllPublicationsToTestRepository") 23 dependsOn(":symbol-processing-cmdline:publishAllPublicationsToTestRepository") 24 } 25