-
Notifications
You must be signed in to change notification settings - Fork 37
chore: Update Project Dependencies to Latest Version #102
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
base: dev
Are you sure you want to change the base?
Changes from 12 commits
08917ec
d9d3197
799987a
3f2685d
785d05e
c886ccb
31966d3
d87baff
eaf2850
a6392ce
2a7f678
aaab477
5235166
ae9d958
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,10 +1,13 @@ | ||||||||
| package org.convention | ||||||||
|
|
||||||||
| import com.android.build.api.dsl.androidLibrary | ||||||||
| import com.android.build.gradle.internal.ide.kmp.KotlinAndroidSourceSetMarker.Companion.android | ||||||||
|
Comment on lines
+3
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid using internal Android Gradle Plugin APIs. The import Additionally, this import doesn't appear to be used in the current file. Suggested fix import com.android.build.api.dsl.androidLibrary
-import com.android.build.gradle.internal.ide.kmp.KotlinAndroidSourceSetMarker.Companion.android📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| import org.gradle.api.Project | ||||||||
| import org.gradle.kotlin.dsl.configure | ||||||||
| import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi | ||||||||
| import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl | ||||||||
| import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension | ||||||||
| import org.jetbrains.kotlin.gradle.dsl.kotlinExtension | ||||||||
|
|
||||||||
| /** | ||||||||
| * Configure the Kotlin Multiplatform plugin with the default hierarchy template and additional targets. | ||||||||
|
|
@@ -17,8 +20,17 @@ internal fun Project.configureKotlinMultiplatform() { | |||||||
| extensions.configure<KotlinMultiplatformExtension> { | ||||||||
| applyProjectHierarchyTemplate() | ||||||||
|
|
||||||||
| androidLibrary { | ||||||||
| compileSdk = 36 | ||||||||
| minSdk = 26 | ||||||||
| androidResources.enable = true | ||||||||
| enableCoreLibraryDesugaring = true | ||||||||
| dependencies.apply { | ||||||||
| add("coreLibraryDesugaring", libs.findLibrary("android.desugarJdkLibs").get()) | ||||||||
| } | ||||||||
| } | ||||||||
|
|
||||||||
| jvm("desktop") | ||||||||
| androidTarget() | ||||||||
| iosSimulatorArm64() | ||||||||
| iosX64() | ||||||||
| iosArm64() | ||||||||
|
|
||||||||
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.
Update outdated comment.
The comment references JDK 19, but the code now configures Java 17. Update the comment to match the actual configuration.
📝 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents