Skip to content

Commit ad18d42

Browse files
committed
Update mod name
1 parent 4141c0d commit ad18d42

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,25 @@ jar {
8989
// configure the maven publication
9090
publishing {
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
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ pluginManagement {
99
}
1010
}
1111

12-
rootProject.name = 'Grind-Enchantments'
12+
rootProject.name = 'grind-enchantments'
1313
include 'codec-config-api'

0 commit comments

Comments
 (0)