@@ -5,10 +5,11 @@ android {
55 applicationId " io.scalaproject.vault"
66 buildToolsVersion = ' 34.0.0'
77 compileSdk 34
8- minSdkVersion 21
9- targetSdkVersion 34
10- versionCode 16
11- versionName " 1.1.5"
8+ minSdk 23
9+ // noinspection OldTargetApi
10+ targetSdk 34
11+ versionCode 17
12+ versionName " 1.2.0"
1213
1314 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
1415 externalNativeBuild {
@@ -20,9 +21,11 @@ android {
2021
2122 ndk {
2223 // noinspection ChromeOsAbiSupport
23- abiFilters ' arm64-v8a ' , ' x86_64 ' , ' armeabi-v7a '
24+ abiFilters ' armeabi-v7a ' , ' arm64-v8a ' , ' x86_64 '
2425 }
2526 resourceConfigurations + = [' en' , ' fr' , ' de' , ' el' , ' eo' , ' es' , ' et' , ' hu' , ' it' , ' ja' , ' nb' , ' nl' , ' pt' , ' pt-rBR' , ' ro' , ' ru' , ' sk' , ' sr' , ' sv' , ' uk' , ' zh-rCN' , ' zh-rTW' ]
27+ signingConfig signingConfigs. debug
28+ proguardFiles ' proguard-rules.pro'
2629 }
2730
2831 flavorDimensions ' type' , ' net'
@@ -89,6 +92,16 @@ android {
8992 // Enumerate translated locales
9093 def availableLocales = [" en" ]
9194 namespace ' io.scalaproject.vault'
95+ compileOptions {
96+ sourceCompatibility JavaVersion . VERSION_17
97+ targetCompatibility JavaVersion . VERSION_17
98+ }
99+ dependenciesInfo {
100+ includeInApk false
101+ includeInBundle false
102+ }
103+ compileSdk 34
104+ ndkVersion ' 25.1.8937393'
92105 new File (" app/src/main/res/" ). eachFileMatch(~/ ^values-.*/ ) { file ->
93106 def languageTag = file. name. substring(7 ). replace(" -r" , " -" )
94107 availableLocales. add(languageTag)
@@ -115,23 +128,32 @@ android {
115128 }
116129}
117130
118- dependencies {
131+ tasks. withType(JavaCompile ). configureEach {
132+ options. compilerArgs << " --enable-preview"
133+ }
134+
135+ java {
136+ toolchain {
137+ languageVersion. set(JavaLanguageVersion . of(17 ))
138+ }
139+ }
119140
120- implementation ' com.google.android.material:material:1.11.0' // keep version 1.0.0 as it fixes a bug with Material Button
141+ dependencies {
142+ implementation ' com.google.android.material:material:1.12.0' // keep version 1.0.0 as it fixes a bug with Material Button
121143 implementation " com.android.support:support-v4"
122144 implementation " com.android.support:recyclerview-v7"
123145 implementation ' androidx.cardview:cardview:1.0.0'
124146 implementation ' androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
125147
126- implementation ' com.google.android.material:material:1.11 .0' // keep version 1.1.0 as it fixes a bug with Material Button
127- implementation ' androidx.appcompat:appcompat:1.6.1 ' // keep version 1.1.0 as it fixes a bug with Material Button
148+ implementation ' com.google.android.material:material:1.12 .0' // keep version 1.1.0 as it fixes a bug with Material Button
149+ implementation ' androidx.appcompat:appcompat:1.7.0 ' // keep version 1.1.0 as it fixes a bug with Material Button
128150 implementation ' androidx.legacy:legacy-support-v4:1.0.0'
129151
130152 implementation ' me.dm7.barcodescanner:zxing:1.9.8'
131153
132154 // noinspection GradleDependency
133155 implementation ' com.squareup.okhttp3:okhttp:3.0.1' // keep version 3.0.1 to avoid errors
134- implementation " com.burgstaller :okhttp-digest:1.18 "
156+ implementation ' io.github.rburgst :okhttp-digest:3.1.1 '
135157 implementation " com.jakewharton.timber:timber:5.0.1"
136158
137159 implementation ' com.nulab-inc:zxcvbn:1.5.2'
@@ -143,6 +165,7 @@ dependencies {
143165
144166 implementation ' com.github.yalantis:ucrop:2.2.8'
145167
168+
146169 testImplementation " junit:junit:4.13.2"
147170 testImplementation " org.mockito:mockito-all:$rootProject . ext . mockitoVersion "
148171 testImplementation " com.squareup.okhttp3:mockwebserver:4.9.3"
@@ -154,4 +177,15 @@ dependencies {
154177 implementation " ch.acra:acra-mail:$acraVersion "
155178
156179 implementation ' com.unstoppabledomains:resolution:3.0.0'
180+ // implementation 'com.yubico.yubikit:core:(insert version here)' for Multi factor auth --> extra security layer
181+
182+ // This is for the game or multiuser realtime interaction branch ... Title ???
183+ // ===============================================================
184+ // implementation 'com.github.heroiclabs.nakama-java:nakama-java:<commit>'
185+ // implementation 'com.github.heroiclabs.nakama-java:satori-java:<commit>'
186+
187+
188+ // or, depend on the fat Jar which bundles all of the Nakama Java dependencies into a single Jar.
189+ // implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:<commit>'
190+ // implementation 'com.github.heroiclabs.nakama-java:satori-java-all:<commit>'
157191}
0 commit comments