-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup publish workflow and dependencies
- Loading branch information
1 parent
0ad22e4
commit b6257f2
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ plugins { | |
id("org.jmailen.kotlinter") version "4.2.0" | ||
id("io.spring.dependency-management") version "1.1.4" | ||
id("org.graalvm.buildtools.native") version "0.9.28" | ||
|
||
id("maven-publish") | ||
id("java-library") | ||
id("net.thebugmc.gradle.sonatype-central-portal-publisher") version "1.2.3" | ||
|
||
kotlin("jvm") version "1.9.23" | ||
kotlin("plugin.spring") version "1.9.23" | ||
} | ||
|
@@ -49,3 +54,40 @@ tasks.withType<KotlinCompile> { | |
tasks.named("processAot") { | ||
enabled = false | ||
} | ||
|
||
signing { | ||
val keyId = System.getenv("SIGNING_KEYID") | ||
val secretKey = System.getenv("SIGNING_SECRETKEY") | ||
val passphrase = System.getenv("SIGNING_PASSPHRASE") | ||
|
||
useInMemoryPgpKeys(keyId, secretKey, passphrase) | ||
} | ||
|
||
centralPortal { | ||
username = System.getenv("SONATYPE_USERNAME") | ||
password = System.getenv("SONATYPE_PASSWORD") | ||
|
||
pom { | ||
name = "Simply Quartz" | ||
description = "An utility library that simplifies task scheduling process while keeping powerful features of Quartz Scheduler." | ||
url = "https://valensas.com/" | ||
scm { | ||
url = "https://github.com/Valensas/simply-quartz" | ||
} | ||
|
||
licenses { | ||
license { | ||
name.set("MIT License") | ||
url.set("https://mit-license.org") | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id.set("0") | ||
name.set("Valensas") | ||
email.set("[email protected]") | ||
} | ||
} | ||
} | ||
} |