Skip to content

Commit

Permalink
Remove setupRepositories logic in root build script
Browse files Browse the repository at this point in the history
Not needed as we don't publish VF at the moment, and otherwise should be inlined.
  • Loading branch information
FlorianMichael committed Jan 18, 2025
1 parent 682e126 commit d63cc7b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ subprojects {
from components.java
}
}

setupRepositories(repositories)
}
}

Expand All @@ -117,22 +115,6 @@ publishing {
from components.java
}
}

setupRepositories(repositories)
}

static void setupRepositories(RepositoryHandler repositories) {
//repositories.mavenLocal() // uncomment for testing
def ENV = System.getenv()
if (ENV.MAVEN_URL) {
repositories.maven {
url ENV.MAVEN_URL
credentials {
username ENV.MAVEN_USERNAME
password ENV.MAVEN_PASSWORD
}
}
}
}

subprojects.each {
Expand Down

0 comments on commit d63cc7b

Please sign in to comment.