File tree 3 files changed +6
-9
lines changed
3 files changed +6
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ echo "Scala version:" $version
13
13
14
14
rm -rf $scriptDir /ivy2
15
15
16
+ integrationRepoUrl=" https://scala-ci.typesafe.com/artifactory/scala-integration/"
17
+ sonatypeStagingUrl=" https://oss.sonatype.org/content/repositories/staging/"
18
+
16
19
sbt \
17
20
-Dsbt.log.noformat=true \
18
21
-Dsbt.ivy.home=$scriptDir /ivy2 \
19
- -Dsbt.override.build.repos=true \
20
- -Dsbt.repository.config=repositories \
21
22
-Dproject.version=$version \
23
+ " set resolvers ++= List(\" scala-integration\" at \" $integrationRepoUrl \" , \" sonatype-staging\" at \" $sonatypeStagingUrl \" )" \
22
24
clean run
Original file line number Diff line number Diff line change @@ -28,9 +28,10 @@ clearIvyCache
28
28
sbtDistVersionOverride=" -Dproject.version=$version "
29
29
30
30
integrationRepoUrl=${integrationRepoUrl-" https://scala-ci.typesafe.com/artifactory/scala-integration/" }
31
+ sonatypeStagingUrl=" https://oss.sonatype.org/content/repositories/staging/"
31
32
32
33
sbt -Dsbt.log.noformat=true \
33
- " set resolvers += \" scala-integration\" at \" $integrationRepoUrl \" " \
34
+ " set resolvers ++= List( \" scala-integration\" at \" $integrationRepoUrl \" , \" sonatype-staging \" at \" $sonatypeStagingUrl \" ) " \
34
35
$sbtDistVersionOverride \
35
36
clean run
36
37
You can’t perform that action at this time.
0 commit comments