From 4ed6cdb7a9b9b30166c4f4f6ba0ef13a73515260 Mon Sep 17 00:00:00 2001 From: "Tyler B. Thrailkill" Date: Fri, 9 Oct 2020 00:44:56 -0600 Subject: [PATCH] Reenable Github Packages --- build.gradle.kts | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 38a806d..4e2ff39 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -130,25 +130,17 @@ bintray { publish = true } -//val javadoc = tasks.named("javadoc") -//val javadocJar by tasks.creating(Jar::class) { -// group = JavaBasePlugin.DOCUMENTATION_GROUP -// description = "Assembles java doc to jar" -// archiveClassifier.set("javadoc") -// from(javadoc) -//} - publishing { -// repositories { -// maven { -// name = "GitHubPackages" -// url = uri("https://maven.pkg.github.com/$githubUsername/$repoName") -// credentials { -// username = System.getenv("GITHUB_USERNAME") ?: project.findProperty("gpr.user") as String? -// password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") as String? -// } -// } -// } + repositories { + maven { + name = "GitHubPackages" + url = uri("https://maven.pkg.github.com/$githubUsername/$repoName") + credentials { + username = System.getenv("GITHUB_USERNAME") ?: project.findProperty("gpr.user") as String? + password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") as String? + } + } + } publications { register("release") {