Skip to content

Commit

Permalink
build: comment out release signing config because nightly refuses to …
Browse files Browse the repository at this point in the history
…build with it

Wtf is wrong with this
  • Loading branch information
LucasGGamerM committed Dec 15, 2023
1 parent 167a2e1 commit 928506b
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions mastodon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,27 @@ android {
}
}

release{
storeFile = file("keystore/release_keystore.jks")
storePassword System.getenv("RELEASE_SIGNING_STORE_PASSWORD")
if (storePassword == null) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
storePassword = properties.getProperty('RELEASE_SIGNING_STORE_PASSWORD')
}
keyAlias System.getenv("RELEASE_SIGNING_KEY_ALIAS")
if (keyAlias == null) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
keyAlias = properties.getProperty('RELEASE_SIGNING_KEY_ALIAS')
}
keyPassword System.getenv("RELEASE_SIGNING_KEY_PASSWORD")
if (keyPassword == null) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
keyPassword = properties.getProperty('RELEASE_SIGNING_KEY_PASSWORD')
}
}
// release{
// storeFile = file("keystore/release_keystore.jks")
// storePassword System.getenv("RELEASE_SIGNING_STORE_PASSWORD")
// if (storePassword == null) {
// Properties properties = new Properties()
// properties.load(project.rootProject.file('local.properties').newDataInputStream())
// storePassword = properties.getProperty('RELEASE_SIGNING_STORE_PASSWORD')
// }
// keyAlias System.getenv("RELEASE_SIGNING_KEY_ALIAS")
// if (keyAlias == null) {
// Properties properties = new Properties()
// properties.load(project.rootProject.file('local.properties').newDataInputStream())
// keyAlias = properties.getProperty('RELEASE_SIGNING_KEY_ALIAS')
// }
// keyPassword System.getenv("RELEASE_SIGNING_KEY_PASSWORD")
// if (keyPassword == null) {
// Properties properties = new Properties()
// properties.load(project.rootProject.file('local.properties').newDataInputStream())
// keyPassword = properties.getProperty('RELEASE_SIGNING_KEY_PASSWORD')
// }
// }
}

buildTypes {
Expand Down Expand Up @@ -105,7 +105,7 @@ android {
githubRelease { initWith release }
fdroidRelease {
initWith release
signingConfig signingConfigs.release
// signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down

0 comments on commit 928506b

Please sign in to comment.