diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 6d1dfac..491c90f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,7 +47,7 @@ publishing { from(components["java"]) groupId = "io.github.locusts-r-us" artifactId = "locusts" - version = "0.1.1" + version = "$version" pom { name = "Locusts" description = "A JVM library that introduces locusts into your codebase." @@ -77,10 +77,18 @@ publishing { name = "GitHubPackages" url = uri("https://maven.pkg.github.com/locusts-r-us/locusts") credentials { - username = "oauth2" + username = System.getenv("GITHUB_ACTOR") password = System.getenv("GITHUB_TOKEN") } } + maven { + name = "OSSRH" + url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/") + credentials { + username = System.getenv("MAVEN_USERNAME") + password = System.getenv("MAVEN_PASSWORD") + } + } } } |