From 07a65a586bc477b2487d98ad3f619f4a29047dc8 Mon Sep 17 00:00:00 2001 From: Tafadzwa Pasipanodya Date: Sat, 18 Nov 2023 10:21:11 -0500 Subject: [PATCH] c --- build.gradle.kts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 40070bb..25cb4a1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -76,8 +76,8 @@ publishing { name = "GitHubPackages" url = uri("https://maven.pkg.github.com/tpasipanodya/exposed-extensions") credentials { - username = System.getenv("PACKAGE_STORE_USERNAME") - password = System.getenv("PACKAGE_STORE_TOKEN") + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") } } } @@ -87,36 +87,41 @@ publishing { this.artifactId = project.name this.version = project.version.toString() from(components["java"]) + versionMapping { usage("java-api") { fromResolutionOf("runtimeClasspath") } } + artifact(tasks["dokkaJar"]) artifact(tasks["sourcesJar"]) + pom { name.set(project.name) description.set("${project.name} $version - Lightweight utilities for simplifying backend application configuration") url.set("https://github.com/tpasipanodya/exposed-extensions") + licenses { license { name.set("The Apache Software License, Version 2.0") url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") } } + developers { developer { name.set("Tafadzwa Pasipanodya") email.set("tmpasipanodya@gmail.com") } } + scm { connection.set("scm:git:git://github.com/tpasipanodya/exposed-extensions.git") developerConnection.set("scm:git:ssh://github.com/tpasipanodya/exposed-extensions.git") url.set("http://github.com/tpasipanodya/exposed-extensions/tree/main") } } - } } }