diff --git a/build.gradle.kts b/build.gradle.kts index a4a00a2..67d82c2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,10 +16,6 @@ java { sourceCompatibility = JavaVersion.VERSION_17 } -repositories { - mavenCentral() -} - dependencies { implementation("org.jetbrains.kotlin:kotlin-reflect") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor") diff --git a/settings.gradle.kts b/settings.gradle.kts index b5541c5..f12fd51 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,17 @@ rootProject.name = "lolosia" -include(":static") \ No newline at end of file +include(":static") + +pluginManagement { + repositories { + maven("https://maven.aliyun.com/repository/gradle-plugin") + gradlePluginPortal() + } +} + +dependencyResolutionManagement { + repositories { + mavenLocal() + maven("https://maven.aliyun.com/repository/public") + mavenCentral() + } +} \ No newline at end of file