Skip to content

Commit

Permalink
Merge pull request #228 from galasa-dev/mcobbett-examples-publish-tes…
Browse files Browse the repository at this point in the history
…tcatalog-as-gradle-artifact

gradle templates should publish test catalog to maven repo
  • Loading branch information
techcobweb authored Apr 4, 2024
2 parents 4a469ad + 274893f commit 5c1c3f3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ dependencies {
{{- end }}
}

def testcatalog = file('build/testcatalog.json')
def obrFile = file('build/galasa.obr')
artifacts {
archives obrFile
}

// Tell gradle to publish the built OBR as a maven artifact on the
// local maven repository.
publishing {
publications {
maven(MavenPublication) {
artifact obrFile
artifact (testcatalog) {
classifier "testcatalog"
extension "json"
}
}
}
}
Expand Down

0 comments on commit 5c1c3f3

Please sign in to comment.