File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
build-logic/src/main/java Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class ApplicationConventionPlugin : Plugin<Project> {
2323 }
2424 extensions.configure<ApplicationExtension > {
2525 configureKotlinAndroid(this )
26- packaging {
26+ packagingOptions {
2727 resources {
2828 excludes + = " /META-INF/{AL2.0,LGPL2.1}"
2929 excludes + = " META-INF/DEPENDENCIES"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ internal fun Project.configureKotlinAndroid(
1515) {
1616 commonExtension.apply {
1717 compileSdk = 33
18- packaging {
18+ packagingOptions {
1919 resources {
2020 excludes + = " /META-INF/{AL2.0,LGPL2.1}"
2121 excludes + = " META-INF/DEPENDENCIES"
@@ -40,7 +40,7 @@ internal fun Project.configureKotlinAndroid(
4040 // Use withType to workaround https://youtrack.jetbrains.com/issue/KT-55947
4141 tasks.withType<KotlinCompile >().configureEach {
4242 kotlinOptions {
43- // Set JVM target to 11
43+ // Set JVM target to 17
4444 jvmTarget = JavaVersion .VERSION_11 .toString()
4545 // Treat all Kotlin warnings as errors (disabled by default)
4646 // Override by setting warningsAsErrors=true in your ~/.gradle/gradle.properties
Original file line number Diff line number Diff line change 22# Define the dependency versions
33# Project
44# kotlin
5- kotlinVersion = " 1.8.10 "
5+ kotlinVersion = " 1.8.20 "
66kotlinxCoroutines = " 1.6.4"
77kotlinxSerializationJson = " 1.5.0"
88# gradle
9- androidGradlePlugin = " 8.0.0 "
9+ androidGradlePlugin = " 7.4.2 "
1010
1111# Modules
1212# androidx
Original file line number Diff line number Diff line change 11# Sat Apr 01 05:16:59 IST 2023
22distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
44networkTimeout =10000
55distributionPath =wrapper/dists
66zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments