Skip to content

Commit

Permalink
Add mavenCentral before vy nexus. Used by external contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
asmundh committed Nov 17, 2023
1 parent 0e3d9dc commit fb7d980
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
uses: gradle/gradle-build-action@v2

- name: Execute Gradle build
# env:
# NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
# NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
run: |
./gradlew build
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ else
System.getenv(name)

repositories {
// mavenCentral() Enable if you do not want to use Vy nexus for dependencies, e.g. if you are an external contributor
maven {
url = uri("https://nexus.common-services.vydev.io/repository/maven-public")
credentials {
Expand Down

0 comments on commit fb7d980

Please sign in to comment.