mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Build with profile = "release" for Android when appropriate (#2270)
We were building Release builds with the debug profile
This commit is contained in:
@@ -88,6 +88,11 @@ fun copyJniShared(task: Task, buildType: String) = task.apply {
|
||||
}
|
||||
|
||||
cargo {
|
||||
if (gradle.startParameter.taskNames.any{it.toLowerCase().contains("debug")}) {
|
||||
profile = "debug"
|
||||
} else {
|
||||
profile = "release"
|
||||
}
|
||||
prebuiltToolchains = true
|
||||
verbose = true
|
||||
module = "../"
|
||||
|
||||
Reference in New Issue
Block a user