Skip to content

Commit

Permalink
add publishing to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
BasiqueEvangelist committed Sep 4, 2024
1 parent bc9cc7d commit 73ae5fc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ publishing {
}

repositories {

def ENV = System.getenv()

if (ENV.MAVEN_URL) {
repositories.maven {
url ENV.MAVEN_URL
credentials {
username ENV.MAVEN_USERNAME
password ENV.MAVEN_PASSWORD
}
}
}
}
}

0 comments on commit 73ae5fc

Please sign in to comment.