aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 29ce216..3c9d7d6 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -28,6 +28,12 @@ android {
if (fabricKey == null) fabricKey = "disabled"
buildConfigField "String", "FABRIC_KEY", "\"" + fabricKey + "\""
manifestPlaceholders.fabricKey = fabricKey
+
+ // Google Play Licensing
+ def googlePlayLicensingKey = privateProperties['google.play.licensing.key']
+ if (googlePlayLicensingKey == null) googlePlayLicensingKey = System.getenv("GOOGLE_PLAY_LICENSING_KEY")
+ if (googlePlayLicensingKey == null) googlePlayLicensingKey = "disabled"
+ buildConfigField "String", "GOOGLE_PLAY_LICENSING_KEY", "\"" + googlePlayLicensingKey + "\""
}
signingConfigs {
general {
@@ -89,4 +95,7 @@ dependencies {
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'com.google.android.gms:play-services-oss-licenses:16.0.2'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
+ def lifecycle_version = "2.0.0"
+ implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
+ implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
}