This repository has been archived on 2024-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
compose-multiplatform-ios-a.../settings.gradle.kts
小草林(田梓萱) 3421b66613
feat: 升级依赖
Signed-off-by: 小草林(田梓萱) <xcl@xuegao-tzx.top>
2023-10-28 23:24:45 +08:00

57 lines
1.5 KiB
Plaintext

rootProject.name = "MyApplication"
include(":androidApp")
include(":shared")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven {
url = uri("https://androidx.dev/storage/compose-compiler/repository/")
}
maven {
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
plugins {
val kotlinVersion = extra["kotlin.version"] as String
val agpVersion = extra["agp.version"] as String
val composeVersion = extra["compose.version"] as String
kotlin("jvm").version(kotlinVersion)
kotlin("multiplatform").version(kotlinVersion)
kotlin("android").version(kotlinVersion)
id("com.android.application").version(agpVersion)
id("com.android.library").version(agpVersion)
id("org.jetbrains.compose").version(composeVersion)
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.4.0")
}
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
maven {
url = uri("https://androidx.dev/storage/compose-compiler/repository/")
}
maven {
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
}