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"