From bc17205f329949224e6475c2a1984d2af0eb10f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=83=E5=B9=B4=E5=A4=8F?= <2098833867@qq.com> Date: Thu, 25 Apr 2024 23:48:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ---- settings.gradle.kts | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) 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