blob: f1f2085dd48078b1a868323340594849abf284b9 [file] [log] [blame] [edit]
val junitVersion: String by project
val kotlinBaseVersion: String by project
val agpBaseVersion: String by project
plugins {
kotlin("jvm")
}
dependencies {
testImplementation("junit:junit:$junitVersion")
testImplementation(gradleTestKit())
}
tasks.named<Test>("test") {
systemProperty("kotlinVersion", kotlinBaseVersion)
systemProperty("kspVersion", version)
systemProperty("agpVersion", agpBaseVersion)
systemProperty("testRepo", File(rootProject.buildDir, "repos/test").absolutePath)
dependsOn(":api:publishAllPublicationsToTestRepository")
dependsOn(":gradle-plugin:publishAllPublicationsToTestRepository")
dependsOn(":symbol-processing:publishAllPublicationsToTestRepository")
}