Skip to content

Commit 4a4dbca

Browse files
Merge pull request #257 from smswithoutborders/dev
Dev
2 parents e8091df + 4074a21 commit 4a4dbca

26 files changed

Lines changed: 1671 additions & 498 deletions

File tree

.idea/vcs.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ android {
6060
def _versionName = versionProperties['versionName']
6161
def tagVersion = Integer.parseInt(versionProperties['tagVersion'])
6262

63-
println(tagVersion)
64-
6563
defaultConfig {
6664
applicationId "com.afkanerd.sw0b"
6765
minSdk 24
@@ -84,6 +82,13 @@ android {
8482
manifestPlaceholders =
8583
['appAuthRedirectScheme': 'oauth.afkanerd.com']
8684

85+
// ...
86+
Properties properties = new Properties()
87+
if (rootProject.file("local.properties").exists()) {
88+
properties.load(rootProject.file("local.properties").newDataInputStream())
89+
}
90+
buildConfigField "String", "RECAPTCHA_KEY", properties.getProperty("recaptcha_key", "\"\"")
91+
8792
}
8893

8994
buildTypes {
@@ -116,6 +121,7 @@ android {
116121
}
117122

118123
compileOptions {
124+
coreLibraryDesugaringEnabled true
119125
sourceCompatibility JavaVersion.VERSION_1_8
120126
targetCompatibility JavaVersion.VERSION_1_8
121127
// kotlinCompilerExtensionVersion compose_compiler
@@ -355,5 +361,8 @@ dependencies {
355361

356362
implementation(libs.coil.compose)
357363
implementation(libs.coil.network.okhttp)
364+
365+
implementation libs.play.services.safetynet
366+
coreLibraryDesugaring libs.desugar.jdk.libs
358367
}
359368

0 commit comments

Comments
 (0)