This commit is contained in:
RyanTLG
2022-03-25 17:46:41 +02:00
parent 3b84706602
commit 39cae8b770
4 changed files with 20 additions and 61 deletions

View File

@@ -16,9 +16,7 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven { url 'https://jitpack.io' }
allprojects { repositories { maven { url 'https://jitpack.io' } } }
}
dependencies {
@@ -29,7 +27,6 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}"
}
processResources {
@@ -66,20 +63,20 @@ publishing {
}
}
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.{
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
// Add repositories to publish to here.
// Notice: This block does NOT have the same function as the block in the top level.
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/RyanTLG/GamerMod"
credentials {
username = "RyanTLG"
password = "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"
}
}
}
}
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/RyanTLG/gamermod"
credentials {
username = "RyanTLG"
password = "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"
}
}
}
}