Add dependency on the Android plugin library building task for tests
This commit is contained in:
parent
146cb039c3
commit
275bd94148
@ -1,3 +1,5 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
// library version is defined in gradle.properties
|
// library version is defined in gradle.properties
|
||||||
val libraryVersion: String by project
|
val libraryVersion: String by project
|
||||||
|
|
||||||
@ -107,3 +109,9 @@ signing {
|
|||||||
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
|
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
|
||||||
sign(publishing.publications)
|
sign(publishing.publications)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This task dependency ensures that we build the bindings
|
||||||
|
// binaries before running the tests
|
||||||
|
tasks.withType<KotlinCompile> {
|
||||||
|
dependsOn("buildAndroidLib")
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user