aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/build.gradle.kts
blob: fb5e5739d08b67fd69c3fe04b0d4f3b4895143e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dependencies {
    implementation(kotlin("stdlib"))
    implementation(kotlin("test-junit"))
    implementation(gradleTestKit())
}

tasks {
    test {
        inputs.dir(file("projects"))

        rootProject.allprojects
            .mapNotNull { project -> project.tasks.findByName("publishToMavenLocal") }
            .forEach { publishTask -> this.dependsOn(publishTask) }
    }
}