File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ buildscript {
11
11
if (rootProject. hasProperty(" alternativeResolutionRepo" )) {
12
12
// If the user supplies an alternative repo via gradle.properties then use that
13
13
name = " from alternativeResolutionRepo property"
14
- url = URI ( rootProject. properties[" alternativeResolutionRepo" ] as String )
14
+ url = rootProject. properties[" alternativeResolutionRepo" ]
15
15
} else if (repoViaEnv != null && repoViaEnv != " " ) {
16
16
name = " from \$ RESOLUTION_REPO"
17
- url = URI ( repoViaEnv)
17
+ url = repoViaEnv
18
18
} else {
19
19
// Our default is the main virtual repo containing everything except repos for testing Artifactory itself
20
20
name = " Terasology Artifactory"
21
- url = URI ( " https://artifactory.terasology.io/artifactory/virtual-repo-live" )
21
+ url = " https://artifactory.terasology.io/artifactory/virtual-repo-live"
22
22
}
23
23
}
24
24
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ repositories {
15
15
if (rootProject. hasProperty(" alternativeResolutionRepo" )) {
16
16
// If the user supplies an alternative repo via gradle.properties then use that
17
17
name = " from alternativeResolutionRepo property"
18
- url = URI ( rootProject. properties[" alternativeResolutionRepo" ] as String )
18
+ url = rootProject. properties[" alternativeResolutionRepo" ]
19
19
} else if (repoViaEnv != null && repoViaEnv != " " ) {
20
20
name = " from \$ RESOLUTION_REPO"
21
- url = URI ( repoViaEnv)
21
+ url = repoViaEnv
22
22
} else {
23
23
// Our default is the main virtual repo containing everything except repos for testing Artifactory itself
24
24
name = " Terasology Artifactory"
25
- url = URI ( " https://artifactory.terasology.io/artifactory/virtual-repo-live" )
25
+ url = " https://artifactory.terasology.io/artifactory/virtual-repo-live"
26
26
}
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments