Skip to content

Commit

Permalink
Merge pull request #1730 from ballerina-platform/nexus-fix
Browse files Browse the repository at this point in the history
Fix issues with WSO2 nexus release
  • Loading branch information
TharmiganK authored Jun 19, 2024
2 parents b0e5775 + 05d924d commit a352c12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ stdlibGraphqlVersion=1.12.0
# Ballerinax Observer
observeVersion=1.2.3
observeInternalVersion=1.2.2

# Enabled publishing insecure checksums, due to fail to publish to maven central
# Refer https://github.com/gradle/gradle/issues/11308
systemProp.org.gradle.internal.publish.checksums.insecure=true
2 changes: 1 addition & 1 deletion openapi-client-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ publishing {

tasks.withType(PublishToMavenRepository) {
onlyIf {
(clientNativeVersion.endsWith('-SNAPSHOT') || clientNativePublish) &&
(clientNativeVersion.endsWith('-SNAPSHOT') || clientNativePublish.toBoolean()) &&
((repository == publishing.repositories.GitHub && publication == publishing.publications.GitHub) ||
(repository == publishing.repositories.WSO2Nexus && publication == publishing.publications.WSO2Nexus))
}
Expand Down

0 comments on commit a352c12

Please sign in to comment.