Skip to content

Commit

Permalink
remove extra repo and disable unpick
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Apr 10, 2024
1 parent 90197a1 commit 9410e4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ repositories {
name "Quilt Snapshot Repository"
url "https://maven.quiltmc.org/repository/snapshot"
}
// remove when ASM fix is released
maven {
name "OW2 Snapshots"
url "https://repository.ow2.org/nexus/content/repositories/snapshots/"
}
mavenLocal()
}

Expand Down Expand Up @@ -175,7 +170,7 @@ task unpickHashedJar(type: UnpickJarTask) {
unpickDefinition.set remapUnpickDefinitions.output.get()
unpickConstantsJar.set constantsJar.archiveFile

dependsOn MapPerVersionMappingsJarTask.TASK_NAME, "constantsJar", remapUnpickDefinitions
dependsOn MapPerVersionMappingsJarTask.TASK_NAME/*, "constantsJar", remapUnpickDefinitions*/
}

task mappingsUnpicked(type: EnigmaMappingsTask, dependsOn: unpickHashedJar) {
Expand All @@ -188,7 +183,7 @@ task mappings(type: EnigmaMappingsTask, dependsOn: "mapPerVersionMappingsJar") {

// Only build jars for package infos if we need to actually expose stuff like annotation in the future.

build.dependsOn constantsJar, generatePackageInfoMappings
build.dependsOn /*constantsJar,*/ generatePackageInfoMappings

task v2UnmergedMappingsJar(type: MappingsV2JarTask, dependsOn: [insertAutoGeneratedMappings, combineUnpickDefinitions]) {
archiveFileName = "${Constants.MAPPINGS_NAME}-${Constants.MAPPINGS_VERSION}-v2.jar"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ public MapNamedJarTask() {

getInputs().files(getTaskByName(DownloadMinecraftLibrariesTask.TASK_NAME).getOutputs().getFiles().getFiles());

inputJar.convention(() -> fileConstants.unpickedJar);
//inputJar.convention(() -> fileConstants.unpickedJar);
inputJar.convention(() -> fileConstants.perVersionMappingsJar); // remove when reenabling unpick
mappingsFile.convention(() -> this.<AddProposedMappingsTask>getTaskByName("insertAutoGeneratedMappings").getOutputMappings());
outputJar.convention(() -> fileConstants.namedJar);

this.dependsOn("insertAutoGeneratedMappings", "unpickHashedJar");
this.dependsOn("insertAutoGeneratedMappings"/*, "unpickHashedJar"*/);
}

public Map<String, String> getAdditionalMappings() {
Expand Down

1 comment on commit 9410e4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No diff file generated.

Please sign in to comment.