Skip to content

Commit

Permalink
update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
AlienwareHe committed Apr 8, 2022
1 parent a18ae84 commit 965dd97
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ android {
signingConfig signingConfigs.release
}

//debug ,也使用release的key,hermes代码无法在线调试,所以没有debug的意义
debug {
signingConfig signingConfigs.release
}
Expand All @@ -52,6 +51,16 @@ android {
jniLibs.srcDirs = ['libs']
}
}

android.applicationVariants.all { variant ->
variant.outputs.all { output ->
if (variant.buildType.name == "release") {
outputFileName = "RDex_v${variant.versionName}_release.apk"
} else {
outputFileName = "RDex_v${variant.versionName}_debug.apk"
}
}
}
}

repositories {
Expand Down

0 comments on commit 965dd97

Please sign in to comment.