-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(kmm): decrease gradle agp version #87
Conversation
Dependency diff: dependency diff
branch: chore/setup-ios -> chore/setup-kmm, module: app, configuration: releaseRuntimeClasspath
Upgraded Dependencies
org.jetbrains.kotlin:kotlin-stdlib:1.8.20, (changed from 1.8.10)
org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20, (changed from 1.8.10)
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.20, (changed from 1.8.10)
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20, (changed from 1.8.10) |
@@ -14,12 +14,6 @@ java { | |||
targetCompatibility = JavaVersion.VERSION_11 | |||
} | |||
|
|||
kotlin { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jvmToolchain is a feature of gradle 8
@@ -26,6 +26,7 @@ hiltGradlePlugin = { group = "com.google.dagger", name = "hilt-android-gradle-pl | |||
|
|||
androidDesugarJdkLibs = { group = "com.android.tools", name = "desugar_jdk_libs", version.ref = "androidDesugarJdkLibs" } | |||
|
|||
composeCompiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
define module to be checked by Renovate
kotlin.mpp.enableCInteropCommonization=true | ||
kotlin.mpp.stability.nowarn=true | ||
kotlin.mpp.androidSourceSetLayoutVersion=2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kotlin1.8 brings new source set layout
https://kotlinlang.org/docs/whatsnew18.html#configuration-and-setup
androidTest
-> androidUnitTest
androidAndroidTest
-> androidInstrumentedTest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package meta has already moved to build.gradle.
manifest file became empty file, so I deleted.
https://developer.android.com/build/configure-app-module#set-namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Why
#74
AGP 8.0 requests gradle 8, but gradle 8 can't assemble XCFramework
https://youtrack.jetbrains.com/issue/KT-56019
so, decrease gradle to 7.6.1
What
decrease gradle, agp version