Skip to content

Commit

Permalink
Renamed 'app' to 'corona-warn-companion'.
Browse files Browse the repository at this point in the history
  • Loading branch information
mh- committed Aug 9, 2020
1 parent 5082509 commit e6bc485
Show file tree
Hide file tree
Showing 94 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .idea/gradle.xml

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

Binary file removed app/src/main/assets/demo_dks.zip
Binary file not shown.
Binary file removed app/src/main/assets/demo_dks_normal.zip
Binary file not shown.
Binary file removed app/src/main/assets/demo_dks_small.zip
Binary file not shown.
File renamed without changes.
29 changes: 29 additions & 0 deletions app/build.gradle → corona-warn-companion/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,28 @@ plugins {
apply plugin: 'com.android.application'
apply plugin: 'com.google.android.gms.oss-licenses-plugin'

/* Get password from macOS Keychain */
def getPassword(String keyChain) {
def stdout = new ByteArrayOutputStream()
def stderr = new ByteArrayOutputStream()
exec {
commandLine 'security', '-q', 'find-generic-password', '-gl', keyChain
standardOutput = stdout
errorOutput = stderr
ignoreExitValue true
}
(stderr.toString().trim() =~ /password: "(.*)"/)[0][1]
}

android {
signingConfigs {
release {
storeFile file(System.getProperty("user.home") + "/AndroidSigningKeystores/" + project.name)
keyAlias 'upload'
storePassword getPassword("ANDROID_STORE_PASSWORD")
keyPassword getPassword("ANDROID_KEY_PASSWORD")
}
}
compileSdkVersion 29
buildToolsVersion "29.0.3"

Expand All @@ -40,6 +61,10 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.debug
}
}

Expand All @@ -49,6 +74,10 @@ android {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
}

testOptions {
unitTests.returnDefaultValues = true
}
}

repositories {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include ':app'
include ':corona-warn-companion'
rootProject.name = "Corona-Warn-Companion"

0 comments on commit e6bc485

Please sign in to comment.