diff options
-rw-r--r-- | lib/modules/datasource/sbt-plugin/index.spec.ts | 24 | ||||
-rw-r--r-- | lib/modules/datasource/sbt-plugin/index.ts | 2 | ||||
-rw-r--r-- | lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap | 4 | ||||
-rw-r--r-- | lib/modules/manager/sbt/extract.spec.ts | 2 |
4 files changed, 16 insertions, 16 deletions
diff --git a/lib/modules/datasource/sbt-plugin/index.spec.ts b/lib/modules/datasource/sbt-plugin/index.spec.ts index 89af547ba30..99a0eda1c59 100644 --- a/lib/modules/datasource/sbt-plugin/index.spec.ts +++ b/lib/modules/datasource/sbt-plugin/index.spec.ts @@ -52,12 +52,12 @@ describe('modules/datasource/sbt-plugin/index', () => { .reply(200, "<a href='1.2.3/'>4.5.6/</a>"); httpMock - .scope('https://dl.bintray.com') - .get('/sbt/sbt-plugin-releases/com.github.gseitz/') + .scope('https://repo.scala-sbt.org') + .get('/scalasbt/sbt-plugin-releases/com.github.gseitz/') .reply(200, ''); httpMock - .scope('https://dl.bintray.com') - .get('/sbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/') + .scope('https://repo.scala-sbt.org') + .get('/scalasbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/') .reply( 200, '<html>\n' + @@ -69,9 +69,9 @@ describe('modules/datasource/sbt-plugin/index', () => { '</html>' ); httpMock - .scope('https://dl.bintray.com') + .scope('https://repo.scala-sbt.org') .get( - '/sbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/scala_2.12/' + '/scalasbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/scala_2.12/' ) .reply( 200, @@ -85,9 +85,9 @@ describe('modules/datasource/sbt-plugin/index', () => { '</html>\n' ); httpMock - .scope('https://dl.bintray.com') + .scope('https://repo.scala-sbt.org') .get( - '/sbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/scala_2.12/sbt_1.0/' + '/scalasbt/sbt-plugin-releases/org.foundweekends/sbt-bintray/scala_2.12/sbt_1.0/' ) .reply( 200, @@ -169,8 +169,8 @@ describe('modules/datasource/sbt-plugin/index', () => { }) ).toEqual({ dependencyUrl: - 'https://dl.bintray.com/sbt/sbt-plugin-releases/org.foundweekends/sbt-bintray', - registryUrl: 'https://dl.bintray.com/sbt/sbt-plugin-releases', + 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.foundweekends/sbt-bintray', + registryUrl: 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases', releases: [{ version: '0.5.5' }], }); }); @@ -185,8 +185,8 @@ describe('modules/datasource/sbt-plugin/index', () => { }) ).toEqual({ dependencyUrl: - 'https://dl.bintray.com/sbt/sbt-plugin-releases/org.foundweekends/sbt-bintray', - registryUrl: 'https://dl.bintray.com/sbt/sbt-plugin-releases', + 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.foundweekends/sbt-bintray', + registryUrl: 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases', releases: [{ version: '0.5.5' }], }); }); diff --git a/lib/modules/datasource/sbt-plugin/index.ts b/lib/modules/datasource/sbt-plugin/index.ts index ba81987f036..ee815340dab 100644 --- a/lib/modules/datasource/sbt-plugin/index.ts +++ b/lib/modules/datasource/sbt-plugin/index.ts @@ -10,7 +10,7 @@ import { getLatestVersion, parseIndexDir } from '../sbt-package/util'; import type { GetReleasesConfig, ReleaseResult } from '../types'; export const SBT_PLUGINS_REPO = - 'https://dl.bintray.com/sbt/sbt-plugin-releases'; + 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases'; export const defaultRegistryUrls = [SBT_PLUGINS_REPO]; diff --git a/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap b/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap index 825c6734c69..fc4242ac844 100644 --- a/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap +++ b/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap @@ -266,7 +266,7 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps for gene "https://example.com/repos/3/", "https://example.com/repos/4/", "https://example.com/repos/5/", - "https://dl.bintray.com/sbt/sbt-plugin-releases", + "https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases", ], }, { @@ -435,7 +435,7 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps when sca "https://example.com/repos/3/", "https://example.com/repos/4/", "https://example.com/repos/5/", - "https://dl.bintray.com/sbt/sbt-plugin-releases", + "https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases", ], }, ], diff --git a/lib/modules/manager/sbt/extract.spec.ts b/lib/modules/manager/sbt/extract.spec.ts index ac113d5d3a0..744e5f2dc9d 100644 --- a/lib/modules/manager/sbt/extract.spec.ts +++ b/lib/modules/manager/sbt/extract.spec.ts @@ -118,7 +118,7 @@ describe('modules/manager/sbt/extract', () => { packageName: 'com.github.gseitz:sbt-release', registryUrls: [ 'https://repo.maven.apache.org/maven2', - 'https://dl.bintray.com/sbt/sbt-plugin-releases', + 'https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases', ], }, ], |