Skip to content

Commit

Permalink
update gradle and change minSdkVersion to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed Jun 4, 2024
1 parent 638c2c9 commit 9a90b8c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
20 changes: 11 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
compileSdk 34
defaultConfig {
applicationId "ru.yourok.torrserve"
minSdkVersion 17
minSdkVersion 16
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 28
multiDexEnabled true
Expand Down Expand Up @@ -40,12 +40,14 @@ android {
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
def appCompatVersion = '1.6.1' // 1.6.1 last api16 compatible
//noinspection GradleDependency
implementation "androidx.appcompat:appcompat:${appCompatVersion}"
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
def coreKtxVersion = '1.12.0' // 1.12.0 last api17 compatible
def coreKtxVersion = '1.12.0' // 1.12.0 last api16 compatible
//noinspection GradleDependency
implementation "androidx.core:core-ktx:${coreKtxVersion}"
def lifecycleVersion = '2.6.2' // 2.6.2 last api17 compatible
def lifecycleVersion = '2.6.2' // 2.6.2 last api16 compatible
//noinspection GradleDependency
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${lifecycleVersion}"
//noinspection GradleDependency
Expand All @@ -67,10 +69,10 @@ dependencies {
ksp "com.github.bumptech.glide:ksp:${glideVersion}"
implementation "com.github.bumptech.glide:annotations:${glideVersion}"
// root shell
def libsuVersion = '3.2.1' // 3.2.1 last api17 compatible
def libsuVersion = '3.2.1' // 3.2.1 last api16 compatible
//noinspection GradleDependency
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
def muiVersion = '1.11.0' // 1.11.0 last api17 compatible
def muiVersion = '1.11.0' // 1.11.0 last api16 compatible
//noinspection GradleDependency
implementation "com.google.android.material:material:${muiVersion}"
implementation 'com.google.android.flexbox:flexbox:3.0.0'
Expand All @@ -79,11 +81,11 @@ dependencies {
//noinspection GradleDependency
implementation "com.google.code.gson:gson:${jsonVersion}"
// firebase
//noinspection GradleDependency firebase-core:19.0.2 is last api17 compatible
//noinspection GradleDependency firebase-core:19.0.2 is last api16 compatible
implementation 'com.google.firebase:firebase-core:19.0.2'
//noinspection GradleDependency firebase-analytics:19.0.2 is last api17 compatible
//noinspection GradleDependency firebase-analytics:19.0.2 is last api16 compatible
implementation 'com.google.firebase:firebase-analytics:19.0.2'
//noinspection GradleDependency firebase-crashlytics:18.2.5 is last api17 compatible
//noinspection GradleDependency firebase-crashlytics:18.2.5 is last api16 compatible
implementation 'com.google.firebase:firebase-crashlytics:18.2.5'
// SSL
implementation 'info.guardianproject.netcipher:netcipher:2.1.0'
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.2'
classpath 'com.android.tools.build:gradle:8.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.1'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Nov 18 12:32:26 MSK 2020
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit 9a90b8c

Please sign in to comment.