blob: 305592c4d54ee44d5a14caeb3ee49217c8c99564 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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())
testImplementation("org.jetbrains.kotlin:kotlin-compiler:$kotlinBaseVersion")
}
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")
dependsOn(":symbol-processing-cmdline:publishAllPublicationsToTestRepository")
}
|