Skip to content

Commit

Permalink
Revert "Attempt to fix snapshot publishing"
Browse files Browse the repository at this point in the history
This reverts commit 6c8c67c.
  • Loading branch information
jamesfredley committed Sep 17, 2024
1 parent 49dddc6 commit 5ce49f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
ORG_GRADLE_PROJECT_artifactoryPublishUsername: ${{ secrets.ARTIFACTORY_USERNAME }}
ORG_GRADLE_PROJECT_artifactoryPublishPassword: ${{ secrets.ARTIFACTORY_PASSWORD }}
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
with:
arguments: |
-Dorg.gradle.internal.publish.checksums.insecure=true
Expand Down
11 changes: 6 additions & 5 deletions gradle/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,16 @@ project.extensions.configure(PublishingExtension) { PublishingExtension pe ->
repositories {
maven {
credentials {
username = project.findProperty('artifactoryPublishUsername') ?: System.getenv("ARTIFACTORY_USERNAME")
password = project.findProperty('artifactoryPublishPassword') ?: System.getenv("ARTIFACTORY_PASSWORD")
username = project.findProperty('artifactoryPublishUsername') ?: ''
password = project.findProperty('artifactoryPublishPassword') ?: ''
}
url "https://repo.grails.org/grails/libs-snapshots-local"
url = isGrailsPlugin ?
uri('https://repo.grails.org/grails/plugins3-snapshots-local') :
uri('https://repo.grails.org/grails/libs-snapshots-local')

}
}
}


}

afterEvaluate {
Expand Down

0 comments on commit 5ce49f2

Please sign in to comment.