Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
fix: add publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmcdonald committed Jul 10, 2020
1 parent 741a0b6 commit 3fb0454
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 'org.springframework.boot' version "${springBootPluginVersion}"
id 'java'
id 'java-library'
id 'maven-publish'
}

group = 'com.jrmcdonald'
Expand Down Expand Up @@ -78,4 +79,22 @@ test {
useJUnitPlatform()
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/jrmcdonald/ifsc-ical-generator")
credentials {
username = "jrmcdonald"
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
bootJava(MavenPublication) {
artifact bootJar
}
}
}

apply from: "${rootDir}/gradle/quality.gradle"

0 comments on commit 3fb0454

Please sign in to comment.