1
1
plugins {
2
- id ' com.android.application' version ' 7.4 .2'
2
+ id ' com.android.application' version ' 8.1 .2'
3
3
}
4
4
5
5
repositories {
@@ -20,22 +20,22 @@ dependencies {
20
20
implementation " io.noties.markwon:ext-strikethrough:$markwon_version "
21
21
implementation " io.noties.markwon:ext-tasklist:$markwon_version "
22
22
implementation ' androidx.sharetarget:sharetarget:1.2.0'
23
- implementation ' androidx.webkit:webkit:1.5 .0'
23
+ implementation ' androidx.webkit:webkit:1.8 .0'
24
24
implementation ' androidx.multidex:multidex:2.0.1'
25
- implementation ' androidx.appcompat:appcompat:1.5 .1'
26
- implementation ' com.google.android.material:material:1.7 .0'
25
+ implementation ' androidx.appcompat:appcompat:1.6 .1'
26
+ implementation ' com.google.android.material:material:1.10 .0'
27
27
implementation ' androidx.legacy:legacy-support-v13:1.0.0'
28
- implementation (' androidx.preference:preference:1.2.0 ' ) {
28
+ implementation (' androidx.preference:preference:1.2.1 ' ) {
29
29
exclude group : ' androidx.lifecycle' , module :' lifecycle-viewmodel'
30
30
exclude group : ' androidx.lifecycle' , module :' lifecycle-viewmodel-ktx'
31
31
}
32
32
implementation ' androidx.legacy:legacy-preference-v14:1.0.0'
33
- implementation ' androidx.exifinterface:exifinterface:1.3.5 '
33
+ implementation ' androidx.exifinterface:exifinterface:1.3.6 '
34
34
implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0'
35
- implementation ' androidx.lifecycle:lifecycle-common-java8:2.5.1 '
36
- implementation ' androidx.lifecycle:lifecycle-viewmodel:2.5.1 '
37
- implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1 '
38
- implementation ' androidx.work:work-runtime:2.7 .1'
35
+ implementation ' androidx.lifecycle:lifecycle-common-java8:2.6.2 '
36
+ implementation ' androidx.lifecycle:lifecycle-viewmodel:2.6.2 '
37
+ implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2 '
38
+ implementation ' androidx.work:work-runtime:2.8 .1'
39
39
implementation ' com.google.android.exoplayer:exoplayer-core:2.9.6' // plays video and audio
40
40
implementation ' com.google.android.exoplayer:exoplayer-ui:2.9.6'
41
41
implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
@@ -50,7 +50,7 @@ dependencies {
50
50
implementation ' com.caverock:androidsvg-aar:1.4' // SVG support.
51
51
implementation ' com.github.bumptech.glide:glide:4.12.0'
52
52
annotationProcessor ' com.github.bumptech.glide:compiler:4.12.0'
53
- annotationProcessor ' androidx.annotation:annotation:1.5 .0'
53
+ annotationProcessor ' androidx.annotation:annotation:1.7 .0'
54
54
implementation ' com.makeramen:roundedimageview:2.1.0' // crops the avatars to circles
55
55
implementation ' com.pnikosis:materialish-progress:1.5' // used only in the "Progress Wheel" in Share Activity.
56
56
implementation ' com.soundcloud.android:android-crop:1.0.1@aar' // used for profile and group avatar selection in Android SDK<19
@@ -92,7 +92,7 @@ dependencies {
92
92
android {
93
93
namespace " org.thoughtcrime.securesms"
94
94
flavorDimensions " none"
95
- compileSdkVersion 33
95
+ compileSdk 34
96
96
97
97
// Set NDK version to strip native libraries.
98
98
// Even though we compile our libraries outside Gradle with `scripts/ndk-make.sh`,
@@ -132,18 +132,16 @@ android {
132
132
sourceCompatibility JavaVersion . VERSION_1_8
133
133
targetCompatibility JavaVersion . VERSION_1_8
134
134
}
135
-
136
135
packagingOptions {
137
- exclude ' LICENSE.txt'
138
- exclude ' LICENSE'
139
- exclude ' NOTICE'
140
- exclude ' asm-license.txt'
141
- exclude ' META-INF/LICENSE'
142
- exclude ' META-INF/NOTICE'
143
- doNotStrip ' */mips/*.so'
144
- doNotStrip ' */mips64/*.so'
136
+ jniLibs {
137
+ keepDebugSymbols + = [' */mips/*.so' , ' */mips64/*.so' ]
138
+ }
139
+ resources {
140
+ excludes + = [' LICENSE.txt' , ' LICENSE' , ' NOTICE' , ' asm-license.txt' , ' META-INF/LICENSE' , ' META-INF/NOTICE' ]
141
+ }
145
142
}
146
143
144
+
147
145
signingConfigs {
148
146
release {
149
147
// can be defined at `~/.gradle/gradle.properties` or at "Build/Generate signed APK"
@@ -227,6 +225,10 @@ android {
227
225
lint {
228
226
abortOnError false
229
227
}
228
+ buildFeatures {
229
+ renderScript true
230
+ aidl true
231
+ }
230
232
231
233
}
232
234
0 commit comments