Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Jan 6, 2022
1 parent 05dfd89 commit 5567e0e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,11 @@ tasks.register<Copy>("getDeps") {
into("runtime/")
}

val dokkaJavadocJar by tasks.register<Jar>("dokkaJavadocJar") {
dependsOn(tasks.dokkaJavadoc)
from(tasks.dokkaJavadoc.flatMap { it.outputDirectory })
archiveClassifier.set("javadoc")
}

publishing {
repositories {
maven {
name = "GitHub"
url = uri("https://maven.pkg.github.com/VEuPathDB/maven-packages")
url = uri("https://maven.pkg.github.com/VEuPathDB/lib-rabbit-job-queue")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
Expand All @@ -86,6 +80,7 @@ publishing {
publications {
create<MavenPublication>("gpr") {
from(components["java"])

pom {
name.set("RabbitMQ Job Queue Library")
description.set("Provides a worker and dispatcher for submitting jobs to a RabbitMQ queue.")
Expand Down

0 comments on commit 5567e0e

Please sign in to comment.