Skip to content

Commit ef18eb1

Browse files
committed
ci: restore GitHub Packages
1 parent 94b297c commit ef18eb1

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

buildSrc/src/main/kotlin/api-conventions.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ plugins {
99
signing
1010
}
1111

12-
val artifactBaseId = "${rootProject.name}-${name}".lowercase()
12+
val gitHubPackagesId = rootProject.name.lowercase()
13+
val artifactBaseId = "$gitHubPackagesId-$name"
1314
val artifactVersion = project.version.toString().substringBeforeLast('-')
1415

1516
java {
@@ -76,7 +77,7 @@ publishing {
7677
repositories {
7778
maven {
7879
name = "GitHubPackages"
79-
url = uri("https://maven.pkg.github.com/toxicity188/$artifactBaseId")
80+
url = uri("https://maven.pkg.github.com/toxicity188/$gitHubPackagesId")
8081
credentials {
8182
username = "toxicity188"
8283
password = System.getenv("PACKAGES_API_TOKEN")

platform/fabric/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ tasks {
105105
modrinth {
106106
loaders = listOf("fabric", "quilt")
107107
uploadFile.set(tasks.remapJar)
108-
gameVersions = SUPPORTED_VERSIONS
108+
gameVersions = listOf("1.21.11")
109109
dependencies {
110110
required.project(
111111
"fabric-api",
112112
"fabric-language-kotlin"
113113
)
114-
optional.project(
115-
"skinsrestorer"
116-
)
114+
// optional.project(
115+
// "skinsrestorer"
116+
// )
117117
}
118118
}

0 commit comments

Comments
 (0)