diff --git a/build.gradle b/build.gradle index d27a553..ea9343e 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,7 @@ plugins { // Apply the java-library plugin to add support for Java Library id 'java-library' + id 'maven-publish' } java { @@ -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") + } + } + } +}