blob: 09fcb98c9b95c8e4e592bd8bdb32eb760c15b17b [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")
}