Skip to content

Commit

Permalink
fix(ci): use correct github credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspeedfpv committed Sep 24, 2024
1 parent ef12887 commit 794ef8a
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,39 +91,13 @@ subprojects {

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = 'MCCoroutine'
description = 'MCCoroutine is a library, which adds extensive support for Kotlin Coroutines for Minecraft Server environments.'
url = 'https://github.com/Shynixn/MCCoroutine'
licenses {
license {
name = 'MIT License'
url = 'http://www.opensource.org/licenses/mit-license.php'
}
}
developers {
developer {
name = 'Shynixn'
url = 'https://github.com/Shynixn'
}
}
scm {
connection = 'scm:git:git://github.com/Shynixn/MCCoroutine.git'
developerConnection = 'scm:git:ssh://github.com:Shynixn/MCCoroutine.git'
url = 'http://github.com/Shynixn/MCCoroutine.git/tree/master'
}
}
gpr(MavenPublication) {
from(components.java)
}
}
repositories {
maven {
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
url = "https://maven.pkg.github.com/xoogware/mccoroutine"

credentials {
username = project.hasProperty("gpr.user") ? project.findProperty("gpr.user") : System.getenv("USERNAME")
Expand Down

0 comments on commit 794ef8a

Please sign in to comment.