musikr: depend on cargo build
This commit is contained in:
parent
b60e3c5880
commit
97bac886d0
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ dependencies {
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.configureEach { task ->
|
||||||
|
if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
|
||||||
|
task.dependsOn 'cargoBuild'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
clean {
|
clean {
|
||||||
delete "$projectDir/build/rustJniLibs"
|
delete "$projectDir/build/rustJniLibs"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue