diff options
author | nea <romangraef@gmail.com> | 2022-12-22 00:42:40 +0100 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-12-22 00:42:40 +0100 |
commit | fa4acd57bc46fdceedef3345b5eab4d2eeefc9e6 (patch) | |
tree | 20cdd2ba79266787d7c8aec53b4d82cf8596e976 | |
parent | 5dea8e6f7af0f9d97a010d412b3cacbdd3777023 (diff) | |
download | neuhax-fa4acd57bc46fdceedef3345b5eab4d2eeefc9e6.tar.gz neuhax-fa4acd57bc46fdceedef3345b5eab4d2eeefc9e6.tar.bz2 neuhax-fa4acd57bc46fdceedef3345b5eab4d2eeefc9e6.zip |
Meta: Version Bump and publishing
-rw-r--r-- | build.gradle.kts | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index c06cbd7..7df0514 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,11 +6,13 @@ plugins { id("com.github.johnrengelman.shadow") version "7.1.2" kotlin("jvm") version "1.7.10" kotlin("plugin.serialization") version "1.7.10" + `maven-publish` id("org.cadixdev.licenser") version "0.6.1" + signing } -group = "moe.nea.sky" -version = "1.0.1" +group = "moe.nea" +version = "1.0.2" // Toolchains: java { @@ -143,3 +145,47 @@ tasks.processResources { expand("version" to version) } } +publishing { + publications { + create<MavenPublication>("maven") { + artifact(tasks.remapJar) { + classifier = "thicc" + } + artifact(tasks.jar) { + classifier = "" + } + pom { + name.set(project.name) + description.set("Quality of Life Addons of dubious legality for NotEnoughUpdates") + licenses { + license { + name.set("GPL-3.0-or-later") + } + } + developers { + developer { + name.set("Linnea Gräf") + } + } + scm { + url.set("https://git.nea.moe/nea/neuhax") + } + } + } + } + repositories { + maven("https://repo.nea.moe/releases") { + name = "neamoeReleases" + credentials(PasswordCredentials::class) + authentication { + create<BasicAuthentication>("basic") + } + } + } +} + +signing { + useGpgCmd() + sign(publishing.publications["maven"]) +} + |