From d876caa507dd9a4ae34e0616158e966f6dfad3cf Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Mon, 7 Apr 2025 14:10:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0maven=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 7 ------- settings.gradle.kts | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a51339a..e2b9364 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,13 +26,6 @@ configurations { } } -repositories { - maven { - url = uri("http://localhost:3105/threepartrepo") - isAllowInsecureProtocol = true - } -} - dependencies { implementation("com.lanyuanxiaoyao:squirrel-core-jvm:1.0.0-SNAPSHOT") { exclude("commons-logging", "commons-logging") diff --git a/settings.gradle.kts b/settings.gradle.kts index c862a2d..c926346 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,26 @@ +pluginManagement { + repositories { + maven { + url = uri("https://maven.lanyuanxiaoyao.com/central") + credentials { + username = "lanyuanxiaoyao" + password = "cL9AFT6VkNlrK8TyYI43RSW8OhtTYzg6GPc1bXzBmnsXeU9T/X6S0q//K5TDZF1g" + } + } + } +} + +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + maven { + url = uri("https://maven.lanyuanxiaoyao.com/central") + credentials { + username = "lanyuanxiaoyao" + password = "cL9AFT6VkNlrK8TyYI43RSW8OhtTYzg6GPc1bXzBmnsXeU9T/X6S0q//K5TDZF1g" + } + } + } +} + rootProject.name = "digital-market"