Use the new central portal releases and snapshots locations
This commit is contained in:
parent
705d89d7cd
commit
042479e989
5 changed files with 13 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
[](https://rife2.com/bld)
|
||||
[](https://github.com/ethauvin/bitly-shorten/releases/latest)
|
||||
[](https://central.sonatype.com/artifact/net.thauvin.erik/bitly-shorten)
|
||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/bitly-shorten/)
|
||||
[](https://github.com/ethauvin/bitly-shorten/packages/2260734/versions)
|
||||
|
||||
|
||||
[](https://sonarcloud.io/dashboard?id=ethauvin_bitly-shorten)
|
||||
|
@ -60,7 +60,7 @@ BITLY_ACCESS_TOKEN=abc123def456ghi789jkl0
|
|||
To use with [bld](https://rife2.com/bld), include the following dependency in your [build](https://github.com/ethauvin/bitly-shorten/blob/master/examples/bld/src/bld/java/com/example/ExampleBuild.java) file:
|
||||
|
||||
```java
|
||||
repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY);
|
||||
repositories = List.of(MAVEN_CENTRAL, CENTRAL_SNAPSHOTS);
|
||||
|
||||
scope(compile)
|
||||
.include(dependency("net.thauvin.erik:bitly-shorten:2.0.0"));
|
||||
|
@ -74,8 +74,11 @@ To use with [Gradle](https://gradle.org/), include the following dependency in y
|
|||
|
||||
```gradle
|
||||
repositories {
|
||||
maven {
|
||||
name = 'Central Portal Snapshots'
|
||||
url = 'https://central.sonatype.com/repository/maven-snapshots/'
|
||||
}
|
||||
mavenCentral()
|
||||
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } // only needed for SNAPSHOT
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue