Skip to content

Commit

Permalink
Reenable Github Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
snowe2010 committed Oct 9, 2020
1 parent 6c2088f commit 4ed6cdb
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<MavenPublication>("release") {
Expand Down

0 comments on commit 4ed6cdb

Please sign in to comment.