Update dependencies more
This commit is contained in:
@@ -9,14 +9,12 @@
|
|||||||
|
|
||||||
# Specifies the JVM arguments used for the daemon process.
|
# Specifies the JVM arguments used for the daemon process.
|
||||||
# The setting is particularly useful for tweaking memory settings.
|
# The setting is particularly useful for tweaking memory settings.
|
||||||
android.databinding.incremental=true
|
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.enableR8.fullMode=true
|
android.enableR8.fullMode=true
|
||||||
android.enableResourceOptimizations=false
|
android.enableResourceOptimizations=false
|
||||||
android.injected.testOnly=false
|
android.injected.testOnly=false
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
kapt.incremental.apt=true
|
|
||||||
org.gradle.jvmargs=-Xmx1536m
|
org.gradle.jvmargs=-Xmx1536m
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ android {
|
|||||||
targetCompatibility(javaVersion)
|
targetCompatibility(javaVersion)
|
||||||
}
|
}
|
||||||
kotlinOptions.jvmTarget = javaVersion.toString()
|
kotlinOptions.jvmTarget = javaVersion.toString()
|
||||||
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
|
kotlinOptions.jvmTarget = javaVersion.toString()
|
||||||
|
}
|
||||||
compileSdkPreview = "UpsideDownCake"
|
compileSdkPreview = "UpsideDownCake"
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "be.mygod.vpnhotspot"
|
applicationId = "be.mygod.vpnhotspot"
|
||||||
@@ -50,7 +53,10 @@ android {
|
|||||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
packagingOptions.resources.excludes.add("**/*.kotlin_*")
|
packagingOptions.resources.excludes.addAll(listOf(
|
||||||
|
"**/*.kotlin_*",
|
||||||
|
"META-INF/versions/**",
|
||||||
|
))
|
||||||
flavorDimensions.add("freedom")
|
flavorDimensions.add("freedom")
|
||||||
productFlavors {
|
productFlavors {
|
||||||
create("freedom") {
|
create("freedom") {
|
||||||
@@ -66,7 +72,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
val lifecycleVersion = "2.6.0-rc01"
|
val lifecycleVersion = "2.6.0"
|
||||||
val roomVersion = "2.5.0"
|
val roomVersion = "2.5.0"
|
||||||
|
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2")
|
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2")
|
||||||
@@ -93,7 +99,7 @@ dependencies {
|
|||||||
implementation("com.linkedin.dexmaker:dexmaker:2.28.3")
|
implementation("com.linkedin.dexmaker:dexmaker:2.28.3")
|
||||||
implementation("com.takisoft.preferencex:preferencex-simplemenu:1.1.0")
|
implementation("com.takisoft.preferencex:preferencex-simplemenu:1.1.0")
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5")
|
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5")
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.0-Beta")
|
||||||
add("googleImplementation", "com.google.android.play:core:1.10.3")
|
add("googleImplementation", "com.google.android.play:core:1.10.3")
|
||||||
add("googleImplementation", "com.google.android.play:core-ktx:1.8.1")
|
add("googleImplementation", "com.google.android.play:core-ktx:1.8.1")
|
||||||
testImplementation("junit:junit:4.13.2")
|
testImplementation("junit:junit:4.13.2")
|
||||||
|
|||||||
Reference in New Issue
Block a user