Skip to content

Commit

Permalink
Merge pull request #20 from reportportal/EPMRPP-86835-maven-release
Browse files Browse the repository at this point in the history
EPMRPP-86835 || Update releaseMode to use Maven instead of Github
  • Loading branch information
IvanKustau authored Nov 20, 2023
2 parents 29c30a1 + b2a7fac commit 01ec4d1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,9 @@ apply from: scriptsUrl + '/build-quality.gradle'


repositories {
mavenCentral()
if (releaseMode) {
dependencyRepos.forEach { path ->
maven {
setUrl("https://maven.pkg.github.com/reportportal/${path}")
credentials {
username = findProperty("githubUserName")
password = findProperty("githubToken")
}
}
}
} else {
mavenCentral { url "https://repo1.maven.org/maven2" }

if (!releaseMode) {
maven { url 'https://jitpack.io' }
}
}
Expand Down

0 comments on commit 01ec4d1

Please sign in to comment.