Skip to content

Commit

Permalink
Move credentials from maven{} to mavenCentral{}
Browse files Browse the repository at this point in the history
  • Loading branch information
wrigleyDan committed Jul 4, 2024
1 parent 0e850c6 commit 8ae853f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ esplugin {
// In this section you declare the dependencies for your production and test code
// Elasticsearch dependency is included due to the build-tools, test-framework as well
repositories {
mavenCentral()
mavenLocal()
// user access token is necessary to publish to Maven
maven {
mavenCentral{
credentials {
username = findProperty("OSSRH_TOKEN") as String
password = findProperty("OSSRH_TOKEN_PASSSWORD") as String
}
}
mavenLocal()
jcenter {
url "https://jcenter.bintray.com/"
metadataSources{
Expand Down

0 comments on commit 8ae853f

Please sign in to comment.