Add dependency on the JVM plugin library building task for tests

This commit is contained in:
thunderbiscuit committed 2022-12-16 11:22:43 -05:00
1 parent 41fdadb09c
commit 146cb039c3
1 file changed
+7
+7
View File
@@ -1,5 +1,6 @@
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.*
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
// library version is defined in gradle.properties
val libraryVersion: String by project
@@ -101,3 +102,9 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign(publishing.publications)
}
// This task dependency ensures that we build the bindings
// binaries before running the tests
tasks.withType<KotlinCompile> {
dependsOn("buildJvmLib")
}