Publish on github
This commit is contained in:
parent
dce407c683
commit
dd17b1c93d
1 changed files with 11 additions and 6 deletions
|
@ -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 {
|
||||||
|
@ -35,15 +35,20 @@ tasks.jar {
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
repositories {
|
||||||
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = uri("https://repository.thundernetwork.org/repository/maven-releases")
|
name = "GitHub"
|
||||||
|
url = uri("https://maven.pkg.github.com/ThunderNetworkRaD/permission-checker")
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("REPOSITORY_USERNAME")
|
username = System.getenv("REPOSITORY_USERNAME")
|
||||||
password = System.getenv("REPOSITORY_PASSWORD")
|
password = System.getenv("REPOSITORY_PASSWORD")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("mavenJava") {
|
create<MavenPublication>("mavenJava") {
|
||||||
from(components["java"])
|
from(components["java"])
|
||||||
|
|
Loading…
Reference in a new issue