Skip to content

Commit 23f8b88

Browse files
committed
OSSRH Sunset - switch to central (only that linktosriram's s3-lite isn't on there (yet) so we need to go through GitHub with auth)
1 parent 9ece73b commit 23f8b88

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ allprojects {
3030
repositories {
3131
mavenLocal()
3232
maven { url 'https://libraries.minecraft.net/' }
33+
maven { url "https://maven.pkg.github.com/linktosriram/s3-lite"
34+
credentials {
35+
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
36+
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
37+
}
38+
}
3339
maven { url "https://oss.sonatype.org/content/repositories/releases" }
3440
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
3541
maven { url "https://repo.mikeprimm.com" }

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
org.gradle.jvmargs=-Xmx4G
22
org.gradle.daemon=false
33
org.gradle.parallel=false
4+
# GitHub user and password (workaround for OSSRH beeing sunset - https://central.sonatype.org/pages/ossrh-eol/
5+
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic
6+
# https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#authenticating-to-github-packages
7+
gpr.user=""
8+
gpr.key=""

0 commit comments

Comments
 (0)