From 2920ff824705d4bd2903d63d044902ab911010c4 Mon Sep 17 00:00:00 2001 From: tursom Date: Sat, 14 Aug 2021 00:17:16 +0800 Subject: [PATCH] update maven pusblish --- build.gradle.kts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 927fb33..b615479 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ import java.util.* ext["netty.version"] = "4.1.59.Final" ext["excludeTest"] = { project: Project, tasks: TaskContainer -> if (project.gradle.startParameter.taskNames.firstOrNull { taskName -> - taskName.endsWith(":test") + ":test" in taskName } == null) { tasks { test { enabled = false } @@ -50,8 +50,11 @@ allprojects { version = "1.0" repositories { - mavenLocal() - mavenCentral() + // mavenLocal() + // mavenCentral() + maven { + url = uri("https://nvm.tursom.cn/repository/maven-public/") + } } tasks.withType {