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"
repositories {
maven("https://repository.thundernetwork.org/repository/maven-public")
maven("https://repository.thundernetwork.org/repository/maven-central/")
}
kotlin {
@ -34,16 +34,21 @@ tasks.jar {
}
}
publishing {
repositories {
publishing {
repositories {
maven {
url = uri("https://repository.thundernetwork.org/repository/maven-releases")
name = "GitHub"
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker")
credentials {
username = System.getenv("REPOSITORY_USERNAME")
password = System.getenv("REPOSITORY_PASSWORD")
}
}
}
}
}
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])