Publish on github

This commit is contained in:
Christian Torbidone 2024-08-31 19:09:54 +02:00
parent dce407c683
commit dd17b1c93d

View file

@ -7,7 +7,7 @@ group = "org.thundernetwork"
version = "1.0.2" version = "1.0.2"
repositories { repositories {
maven("https://repository.thundernetwork.org/repository/maven-public") maven("https://repository.thundernetwork.org/repository/maven-central/")
} }
kotlin { kotlin {
@ -36,11 +36,16 @@ tasks.jar {
publishing { publishing {
repositories { repositories {
maven { publishing {
url = uri("https://repository.thundernetwork.org/repository/maven-releases") repositories {
credentials { maven {
username = System.getenv("REPOSITORY_USERNAME") name = "GitHub"
password = System.getenv("REPOSITORY_PASSWORD") url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker")
credentials {
username = System.getenv("REPOSITORY_USERNAME")
password = System.getenv("REPOSITORY_PASSWORD")
}
}
} }
} }
} }