This repository has been archived on 2024-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
SuperTra/settings.gradle.kts
小草林(田梓萱) 192037f48a
feat: init
Signed-off-by: 小草林(田梓萱) <xcl@xuegao-tzx.top>
2024-02-05 21:09:07 +08:00

51 lines
2.0 KiB
Plaintext

@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
val buildId: String by settings
repositories {
maven { url = uri("https://repo1.maven.org/maven2/") }
maven { url = uri("https://dl.google.com/dl/android/maven2/") }
google()
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/") }
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/") }
maven { url = uri("https://jitpack.io/") }
gradlePluginPortal()
maven { url = uri("https://developer.huawei.com/repo/") }
// maven {
// url = uri("https://androidx.dev/snapshots/builds/$buildId/artifacts/repository")
// }
// flatDir { dirs("libs") }
}
}
dependencyResolutionManagement {
val buildId: String by settings
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url = uri("https://repo1.maven.org/maven2/") }
maven { url = uri("https://dl.google.com/dl/android/maven2/") }
google()
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/") }
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/") }
maven { url = uri("https://jitpack.io/") }
gradlePluginPortal()
maven { url = uri("https://developer.huawei.com/repo/") }
// maven {
// url = uri("https://androidx.dev/snapshots/builds/$buildId/artifacts/repository")
// }
// flatDir { dirs("libs") }
}
}
rootProject.name = "AIChat"
// 主工程
include(":app")