Skip to content

Commit

Permalink
Add debugGithubRelease build config
Browse files Browse the repository at this point in the history
  • Loading branch information
EdrowsLuo committed Jun 7, 2020
1 parent 90552cf commit 6f9c5c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,31 @@ android {
}
}

/*signingConfigs {
release {
signingConfigs {
debug {
try {
storeFile file('release.jks')
storePassword KEYSTORE_PASSWORD
keyAlias 'dgsrz.com'
keyPassword KEY_PASSWORD
storeFile file('debug.jks')
storePassword "debug.dgsrz.com"
keyAlias 'debug.github.dgsrz.com'
keyPassword 'debug.github.dgsrz.com'
} catch (ignored) {
throw new InvalidUserDataException('You should define KEYSTORE_PASSWORD and KEY_PASSWORD in gradle.properties.')
}
}
}*/
}

buildTypes {
debug {
resValue "string", "app_name", "osu!droid-debug"
applicationIdSuffix '.debug'
}

debugGithubRelease {
matchingFallbacks = ['debug']
debuggable true
signingConfig signingConfigs.debug
}

debugEdrows {
resValue "string", "app_name", "osu!droid-ed"
applicationIdSuffix '.debug.edrows'
Expand Down
Binary file added debug.jks
Binary file not shown.

0 comments on commit 6f9c5c1

Please sign in to comment.