File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed
Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -89,16 +89,25 @@ jar {
8989// configure the maven publication
9090publishing {
9191 publications {
92- mavenJava (MavenPublication ) {
92+ mod (MavenPublication ) {
9393 from components. java
9494 }
9595 }
9696
9797 // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
9898 repositories {
99- // Add repositories to publish to here.
100- // Notice: This block does NOT have the same function as the block in the top level.
101- // The repositories here will be used for publishing your artifact, not for
102- // retrieving dependencies.
99+ maven {
100+ name = " Forgejo"
101+ url = uri(" https://mschae23.de/git/api/packages/mschae23/maven" )
102+
103+ credentials(HttpHeaderCredentials ) {
104+ name = " Authorization"
105+ value = " token ${ System.getenv("FORGEJO_PACKAGES_TOKEN")} "
106+ }
107+
108+ authentication {
109+ header(HttpHeaderAuthentication )
110+ }
111+ }
103112 }
104113}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ org.gradle.jvmargs=-Xmx1G
99
1010# Mod Properties
1111 mod_version = 3.1.4
12- maven_group = de.martenschaefer.grind-enchantments
12+ maven_group = de.mschae23.minecraft.mod
1313 archives_base_name = grind-enchantments
1414
1515# Dependencies
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ pluginManagement {
99 }
1010}
1111
12- rootProject. name = ' Grind-Enchantments '
12+ rootProject. name = ' grind-enchantments '
1313include ' codec-config-api'
You can’t perform that action at this time.
0 commit comments