Skip to content

Commit

Permalink
Sign with AGP
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Nov 15, 2021
1 parent 17b14cd commit 48ee2af
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
20 changes: 19 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,30 @@ android {
versionName appVerName
}

if (project.hasProperty('releaseStoreFile')) {
signingConfigs {
config {
storeFile = file(project.properties['releaseStoreFile'])
storePassword = project.properties['releaseStorePassword']
keyAlias = project.properties['releaseKeyAlias']
keyPassword = project.properties['releaseKeyPassword']
}
}
}

buildTypes {
all {
if (project.hasProperty('releaseStoreFile')) {
signingConfig signingConfigs.config
} else {
println("using debug sign")
signingConfig signingConfigs.debug
}
}
release {
minifyEnabled true
shrinkResources true
proguardFiles 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}

Expand Down
1 change: 0 additions & 1 deletion app/src/main/java/me/iacn/biliroaming/SettingDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ class SettingDialog(context: Context) : AlertDialog.Builder(context) {
var supportAdd4K = false
var supportMusicNotificationHook = true
var supportDark = true
var supportAddChannel = false
var supportCustomizeTab = true
val supportFullSplash = try {
instance.splashInfoClass?.getMethod("getMode") != null
Expand Down
12 changes: 0 additions & 12 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

0 comments on commit 48ee2af

Please sign in to comment.