musikr: depend on cargo build

This commit is contained in:
Alexander Capehart 2025-02-19 12:22:35 -07:00
parent b60e3c5880
commit 97bac886d0
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -85,6 +85,12 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
}
tasks.configureEach { task ->
if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
task.dependsOn 'cargoBuild'
}
}
clean {
delete "$projectDir/build/rustJniLibs"
}