Skip to content

Commit

Permalink
Use public build repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jreznot committed Jan 24, 2019
1 parent a4aac36 commit bff0221
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,19 @@ buildscript {

repositories {
mavenLocal()
maven {
url 'http://repository.haulmont.com:8587/nexus/content/groups/work'
credentials {
username System.getenv('HAULMONT_REPOSITORY_USER')
password System.getenv('HAULMONT_REPOSITORY_PASSWORD')

if (System.getenv('HAULMONT_REPOSITORY_URL')) {
maven {
credentials {
username System.getenv('HAULMONT_REPOSITORY_USER')
password System.getenv('HAULMONT_REPOSITORY_PASSWORD')
}
url System.getenv('HAULMONT_REPOSITORY_URL')
}
} else {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://dl.bintray.com/cuba-platform/main" }
}
}
dependencies {
Expand Down

0 comments on commit bff0221

Please sign in to comment.