Fixed CI issues
This commit is contained in:
parent
77df8671e6
commit
6efef3622b
2 changed files with 4 additions and 2 deletions
|
@ -24,6 +24,7 @@ group = "com.jetpackduba"
|
|||
version = projectVersion
|
||||
|
||||
val isLinuxAarch64 = (properties.getOrDefault("isLinuxAarch64", "false") as String).toBoolean()
|
||||
val useCross = (properties.getOrDefault("useCross", "false") as String).toBoolean()
|
||||
|
||||
|
||||
sourceSets.getByName("main") {
|
||||
|
@ -220,7 +221,7 @@ fun generateKotlinFromUdl() {
|
|||
fun buildRust() {
|
||||
exec {
|
||||
println("Build rs called")
|
||||
val binary = if (currentOs() == OS.LINUX) {
|
||||
val binary = if (currentOs() == OS.LINUX && useCross) {
|
||||
"cross"
|
||||
} else {
|
||||
"cargo"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
kotlin.code.style=official
|
||||
isLinuxAarch64=false
|
||||
useCross=false
|
Loading…
Reference in a new issue