Skip to content

Commit

Permalink
adding publish back
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Ward committed Dec 13, 2024
1 parent 63b880d commit d8d3a8b
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'maven-publish'
}

java {
Expand Down Expand Up @@ -36,15 +37,15 @@ dependencies {
// sourceCompatibility = '1.8'
// targetCompatibility = '1.8'

// publishing {
// repositories {
// maven {
// name = "GitHubPackages"
// url = "https://maven.pkg.github.com/2491NoMythic/nomythiclib"
// credentials {
// username = System.getenv("GITHUB_ACTOR")
// password = System.getenv("GITHUB_TOKEN")
// }
// }
// }
// }
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/2491NoMythic/nomythiclib"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

0 comments on commit d8d3a8b

Please sign in to comment.