1313}
1414
1515android {
16+ namespace " com.termux"
17+
1618 compileSdkVersion project. properties. compileSdkVersion. toInteger()
1719 ndkVersion = System . getenv(" JITPACK_NDK_VERSION" ) ?: project. properties. ndkVersion
1820 def appVersionName = System . getenv(" TERMUX_APP_VERSION_NAME" ) ?: " "
@@ -21,24 +23,24 @@ android {
2123 def splitAPKsForReleaseBuilds = System . getenv(" TERMUX_SPLIT_APKS_FOR_RELEASE_BUILDS" ) ?: " 0" // F-Droid does not support split APKs #1904
2224
2325 dependencies {
24- implementation " androidx.annotation:annotation:1.3 .0"
25- implementation " androidx.core:core:1.6.0 "
26- implementation " androidx.drawerlayout:drawerlayout:1.1.1 "
27- implementation " androidx.preference:preference:1.1 .1"
26+ implementation " androidx.annotation:annotation:1.9 .0"
27+ implementation " androidx.core:core:1.13.1 "
28+ implementation " androidx.drawerlayout:drawerlayout:1.2.0 "
29+ implementation " androidx.preference:preference:1.2 .1"
2830 implementation " androidx.viewpager:viewpager:1.0.0"
29- implementation " com.google.android.material:material:1.4 .0"
31+ implementation " com.google.android.material:material:1.12 .0"
3032 implementation " com.google.guava:guava:24.1-jre"
3133 implementation " io.noties.markwon:core:$markwonVersion "
3234 implementation " io.noties.markwon:ext-strikethrough:$markwonVersion "
3335 implementation " io.noties.markwon:linkify:$markwonVersion "
3436 implementation " io.noties.markwon:recycler:$markwonVersion "
37+ implementation ' com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
3538
3639 implementation project(" :terminal-view" )
3740 implementation project(" :termux-shared" )
3841 }
3942
4043 defaultConfig {
41- applicationId " com.termux"
4244 minSdkVersion project. properties. minSdkVersion. toInteger()
4345 targetSdkVersion project. properties. targetSdkVersion. toInteger()
4446 versionCode 118
@@ -110,7 +112,7 @@ android {
110112 }
111113 }
112114
113- lintOptions {
115+ lint {
114116 disable ' ProtectedPermissions'
115117 }
116118
@@ -138,12 +140,15 @@ android {
138140 }
139141 }
140142
143+ buildFeatures {
144+ buildConfig true
145+ }
141146}
142147
143148dependencies {
144149 testImplementation " junit:junit:4.13.2"
145150 testImplementation " org.robolectric:robolectric:4.10"
146- coreLibraryDesugaring " com.android.tools:desugar_jdk_libs:1 .1.5 "
151+ coreLibraryDesugaring " com.android.tools:desugar_jdk_libs:2 .1.2 "
147152}
148153
149154task versionName {
0 commit comments