aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-29 13:28:20 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-29 13:34:59 -0500
commita9ba312ad4d5ea3264fd9586f49d2714a128ffbb (patch)
tree6385de074f1e3d27764eb62182c2039e04355f9e /build.gradle.kts
parentci: use correct changeset and fix typo (diff)
downloadlocusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar.gz
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar.bz2
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar.lz
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar.xz
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.tar.zst
locusts-a9ba312ad4d5ea3264fd9586f49d2714a128ffbb.zip
jvm: Fix versioning?
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--build.gradle.kts12
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")
+ }
+ }
}
}