Skip to content

Commit

Permalink
EPMRPP-86835 || Update releaseMode to use Maven instead of Github (#46)
Browse files Browse the repository at this point in the history
* EPMRPP-86835 || Update releaseMode to use Maven instead of Github

* EPMRPP-86835 || Update lib version

* EPMRPP-86835 || Update rules version
  • Loading branch information
IvanKustau authored Nov 20, 2023
1 parent 3876fab commit 55bf2f2
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,8 @@ wrapper.gradleVersion('6.0')

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

if (!releaseMode) {
maven { url 'https://jitpack.io' }
}
}
Expand All @@ -49,9 +40,9 @@ dependencies {
compile 'com.epam.reportportal:commons-rules'
compile 'com.epam.reportportal:commons-dao'
} else {
compile 'com.github.reportportal:commons-dao:6f11ff3'
compile 'com.github.reportportal:commons-dao:dafe9b4d'
compile 'com.github.reportportal:commons-model:83f012f'
compile 'com.github.reportportal:commons-rules:29c30a1'
compile 'com.github.reportportal:commons-rules:01ec4d17'
}
compile 'org.pf4j:pf4j:2.4.0'

Expand Down

0 comments on commit 55bf2f2

Please sign in to comment.