Skip to content

Commit

Permalink
Publish ballerina openapi core to github
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Sep 26, 2024
1 parent 3434ba6 commit 524006a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions openapi-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,27 @@ compileJava {
classpath = files()
}
}

publishing {
publications {
mavenJava(MavenPublication) {
groupId "io.ballerina.openapi"
artifactId "core"
version = githubReleaseVersion
artifact jar
}
}

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ballerina-platform/openapi-tools")
credentials {
username = System.getenv("packageUser")
password = System.getenv("packagePAT")
}
}
}
}

publish.dependsOn build

0 comments on commit 524006a

Please sign in to comment.