From dd17b1c93d48d3197bfe334060aaf06f448e447c Mon Sep 17 00:00:00 2001 From: Christian Torbidone Date: Sat, 31 Aug 2024 19:09:54 +0200 Subject: [PATCH] Publish on github --- build.gradle.kts | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 463fccb..f764390 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ group = "org.thundernetwork" version = "1.0.2" repositories { - maven("https://repository.thundernetwork.org/repository/maven-public") + maven("https://repository.thundernetwork.org/repository/maven-central/") } kotlin { @@ -36,11 +36,16 @@ tasks.jar { publishing { repositories { - maven { - url = uri("https://repository.thundernetwork.org/repository/maven-releases") - credentials { - username = System.getenv("REPOSITORY_USERNAME") - password = System.getenv("REPOSITORY_PASSWORD") + publishing { + repositories { + maven { + name = "GitHub" + url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker") + credentials { + username = System.getenv("REPOSITORY_USERNAME") + password = System.getenv("REPOSITORY_PASSWORD") + } + } } } }