Skip to content

Commit bff0221

Browse files
committed
Use public build repository
1 parent a4aac36 commit bff0221

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

build.gradle

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,19 @@ buildscript {
2121

2222
repositories {
2323
mavenLocal()
24-
maven {
25-
url 'http://repository.haulmont.com:8587/nexus/content/groups/work'
26-
credentials {
27-
username System.getenv('HAULMONT_REPOSITORY_USER')
28-
password System.getenv('HAULMONT_REPOSITORY_PASSWORD')
24+
25+
if (System.getenv('HAULMONT_REPOSITORY_URL')) {
26+
maven {
27+
credentials {
28+
username System.getenv('HAULMONT_REPOSITORY_USER')
29+
password System.getenv('HAULMONT_REPOSITORY_PASSWORD')
30+
}
31+
url System.getenv('HAULMONT_REPOSITORY_URL')
2932
}
33+
} else {
34+
jcenter()
35+
maven { url "https://plugins.gradle.org/m2/" }
36+
maven { url "https://dl.bintray.com/cuba-platform/main" }
3037
}
3138
}
3239
dependencies {

0 commit comments

Comments
 (0)