Skip to content

Commit 3dc5141

Browse files
committed
build: fix unauthorized package errors
1 parent 0b55a8a commit 3dc5141

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ plugins {
44
id 'idea'
55
id 'maven-publish'
66
id 'fabric-loom' version '1.7-SNAPSHOT'
7-
id 'io.github.0ffz.github-packages' version '[1,2)'
87
id 'com.matthewprenger.cursegradle' version '[1.4,1.5)'
98
id 'com.modrinth.minotaur' version '[2,3)'
109
}
@@ -67,9 +66,9 @@ repositories {
6766
maven { url = "https://maven.fabricmc.net" }
6867
maven { url = "https://maven.su5ed.dev/releases" }
6968
maven { url = "https://maven.architectury.dev/" }
70-
maven githubPackage.invoke("The-Aether-Team/The-Aether")
7169
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" }
7270
maven { url = "https://maven.parchmentmc.org" }
71+
maven { url = "https://packages.aether-mod.net/The-Aether" }
7372
}
7473

7574
tasks.withType(ProcessResources).configureEach {

docs/README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,15 @@ Treasure Reforging has stable release builds available on [Modrinth](https://mod
3535
If you’re feeling a bit more adventurous or wish to help test the in-development versions, we provide **bleeding edge builds** which are produced on [CircleCI](https://app.circleci.com/pipelines/github/The-Aether-Team/Treasure-Reforging). These builds are created for every new commit and contain the latest available code. We do not recommend users treat these builds as releases, as they are unfinished and may contain serious issues. If you wish to download these builds, check out [this guide](https://github.com/The-Aether-Team/Treasure-Reforging/wiki/CircleCI-Guide).
3636

3737
### Packages
38-
To install this mod through GitHub Packages in Gradle for development, you will need the [Gradle Github Packages Plugin](https://github.com/0ffz/gpr-for-gradle). To use it, make sure you have access to the Gradle plugins maven and the plugin as a buildscript dependency:
39-
40-
<details>
41-
<summary> Buildscript Code</summary>
42-
43-
`settings.gradle`
44-
```
45-
pluginManagement {
46-
repositories {
47-
gradlePluginPortal()
48-
}
49-
}
50-
```
51-
52-
`build.gradle`
53-
```
54-
plugins {
55-
id 'io.github.0ffz.github-packages' version '[1,2)'
56-
}
57-
```
58-
59-
</details>
60-
61-
Then you need to specify the package you want to use in your repository:
38+
To install this mod through GitHub Packages in Gradle for development, you can use a redirect for the specific project you desire:
6239

6340
<details>
6441
<summary> Repositories Code</summary>
6542

6643
```
6744
repositories {
6845
...
69-
maven githubPackage.invoke("The-Aether-Team/Treasure-Reforging")
46+
maven { url = "https://packages.aether-mod.net/Treasure-Reforging" }
7047
}
7148
```
7249

0 commit comments

Comments
 (0)