Skip to content

Commit

Permalink
Added publishing target
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas committed Dec 22, 2023
1 parent e7d00a9 commit 6838570
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
id 'groovy'
id 'com.github.spotbugs'
id 'idea'
id 'maven-publish'
id 'com.ryandens.javaagent-application' version "0.4.2"
}

Expand Down Expand Up @@ -129,3 +130,21 @@ test {
environment("TESTCONTAINERS_RYUK_DISABLED", "true")
}
}

publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/Ignas/nukagit"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

0 comments on commit 6838570

Please sign in to comment.