Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Jan 13, 2025
1 parent 6281597 commit c5d5c3c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
32 changes: 16 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
buildscript {
repositories {
maven {
name "Fabric Repository"
url 'https://maven.fabricmc.net'
name = "Fabric Repository"
url = 'https://maven.fabricmc.net'
}
mavenCentral()
mavenLocal()
Expand Down Expand Up @@ -47,12 +47,12 @@ repositories {
}
}
maven {
name "Fabric Repository"
url 'https://maven.fabricmc.net'
name = "Fabric Repository"
url = 'https://maven.fabricmc.net'
}
maven {
name "Mojang"
url 'https://libraries.minecraft.net/'
name = "Mojang"
url = 'https://libraries.minecraft.net/'
}
mavenLocal()
}
Expand Down Expand Up @@ -572,23 +572,23 @@ check.dependsOn javadocLint
publishing {
publications {
register("maven", MavenPublication) {
groupId 'net.fabricmc'
artifactId "yarn"
version yarnVersion
groupId = 'net.fabricmc'
artifactId = "yarn"
version = yarnVersion

artifact(compressTiny.output) {
classifier "tiny"
classifier = "tiny"
builtBy compressTiny
}
artifact(tinyJar)
artifact(v2UnmergedYarnJar) {
classifier "v2"
classifier = "v2"
}
artifact(v2MergedYarnJar) {
classifier "mergedv2"
classifier = "mergedv2"
}
artifact(constantsJar) {
classifier "constants"
classifier = "constants"
}
artifact sourcesJar
artifact javadocJar
Expand All @@ -598,10 +598,10 @@ publishing {
repositories {
if (ENV.MAVEN_URL) {
maven {
url ENV.MAVEN_URL
url = ENV.MAVEN_URL
credentials {
username ENV.MAVEN_USERNAME
password ENV.MAVEN_PASSWORD
username = ENV.MAVEN_USERNAME
password = ENV.MAVEN_PASSWORD
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions filament/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ file('../gradle.properties').newInputStream().withCloseable {

repositories {
maven {
name "Fabric Repository"
url 'https://maven.fabricmc.net'
name = "Fabric Repository"
url = 'https://maven.fabricmc.net'
}
mavenCentral()
mavenLocal()
Expand Down Expand Up @@ -83,8 +83,8 @@ publishing {
repositories {
if (ENV.MAVEN_URL) {
repositories.maven {
name "fabric"
url ENV.MAVEN_URL
name = "fabric"
url = ENV.MAVEN_URL
credentials {
username ENV.MAVEN_USERNAME
password ENV.MAVEN_PASSWORD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.jar.JarEntry;
Expand All @@ -31,7 +30,6 @@
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.tree.ClassNode;

import net.fabricmc.mappingio.MappedElementKind;
import net.fabricmc.mappingio.MappingReader;
import net.fabricmc.mappingio.MappingWriter;
import net.fabricmc.mappingio.format.MappingFormat;
Expand Down

0 comments on commit c5d5c3c

Please sign in to comment.