forked from QuiltMC/quilt-mappings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '1.21.4-pre2' into dispenser-stuff
- Loading branch information
Showing
200 changed files
with
6,927 additions
and
3,663 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
plugins { | ||
id 'java' | ||
} | ||
|
||
// these contain the classpath contents necessary for JavaExec tasks registered by buildSrc plugins | ||
configurations { | ||
configurations.ext.classpathHolder = { String configName, String capabilityName -> | ||
configurations.create(configName) { | ||
canBeResolved = false | ||
|
||
attributes.attribute Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME) | ||
|
||
components.java.addVariantsFromConfiguration(it) { } | ||
|
||
outgoing.capability "$group:$capabilityName:$version" | ||
} | ||
} | ||
|
||
// for UnpickJarTask | ||
classpathHolder 'unpickCli', "$name-unpick-cli" | ||
|
||
// for EnigmaMappingsTask | ||
classpathHolder 'enigmaSwing', "$name-enigma-swing" | ||
|
||
// for EnigmaMappingsServerTask | ||
classpathHolder 'enigmaServer', "$name-enigma-server" | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
|
||
maven { | ||
name "Quilt Repository" | ||
url "https://maven.quiltmc.org/repository/release" | ||
} | ||
|
||
maven { | ||
name "Fabric Repository" | ||
url 'https://maven.fabricmc.net' | ||
} | ||
|
||
// TODO remove when ASM fix is released | ||
maven { | ||
url = "https://repository.ow2.org/nexus/content/repositories/snapshots/" | ||
} | ||
} | ||
|
||
dependencies { | ||
unpickCli libs.unpick.cli | ||
|
||
enigmaSwing libs.enigma.swing | ||
enigmaSwing libs.enigma.plugin | ||
|
||
enigmaServer libs.enigma.server | ||
enigmaServer libs.enigma.plugin | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
group = quilt.internal | ||
# version is irrelevant | ||
version = 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
libs { | ||
from(files("../../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ dependencyResolutionManagement { | |
} | ||
} | ||
} | ||
|
||
includeBuild 'classpath-holders' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
buildSrc/src/main/java/quilt/internal/MappingsExtension.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
buildSrc/src/main/java/quilt/internal/constants/Classifiers.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package quilt.internal.constants; | ||
|
||
public interface Classifiers { | ||
String INTERMEDIATE = Namespaces.INTERMEDIATE; | ||
String NAMED = Namespaces.NAMED; | ||
String INTERMEDIARY = Namespaces.INTERMEDIARY; | ||
|
||
String V2 = "v2"; | ||
String MERGED_V2 = "merged" + V2; | ||
String INTERMEDIARY_V2 = INTERMEDIARY + "-" + V2; | ||
String INTERMEDIARY_V2_MERGED = INTERMEDIARY + "-" + MERGED_V2; | ||
|
||
String UNPICKED = "unpicked"; | ||
String INTERMEDIATE_UNPICKED = INTERMEDIATE + "-" + UNPICKED; | ||
|
||
String TINY = Constants.TINY_NAME; | ||
|
||
String CONSTANTS = "constants"; | ||
String JAVADOC = "javadoc"; | ||
String SOURCES = "sources"; | ||
} |
9 changes: 9 additions & 0 deletions
9
buildSrc/src/main/java/quilt/internal/constants/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package quilt.internal.constants; | ||
|
||
public interface Constants { | ||
String MAPPINGS_NAME = "quilt-mappings"; | ||
|
||
String UNPICK_NAME = "unpick"; | ||
|
||
String TINY_NAME = "tiny"; | ||
} |
11 changes: 11 additions & 0 deletions
11
buildSrc/src/main/java/quilt/internal/constants/Extensions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package quilt.internal.constants; | ||
|
||
import org.gradle.jvm.tasks.Jar; | ||
|
||
public interface Extensions { | ||
String JAR = Jar.DEFAULT_EXTENSION; | ||
String TINY = Constants.TINY_NAME; | ||
String UNPICK = Constants.UNPICK_NAME; | ||
String GZ = "gz"; | ||
String JSON = "json"; | ||
} |
Oops, something went wrong.
1aaf5a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With commit 1aaf5a0, 34 file(s) were updated with 180 line(s) added and 181 removed compared to the latest Quilt Mappings version.
View the diff here (1/2):
1aaf5a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
View the diff here (2/2):