Skip to content

Commit

Permalink
Use Minecraft libraries instead of compile classpath for fork AT clas…
Browse files Browse the repository at this point in the history
…spath

We may need to revisit this in the future, but it seems to work with basic testing and provides a decent speedup by not needing to compile -API
  • Loading branch information
jpenilla committed Dec 21, 2024
1 parent b15e7a3 commit 8eda831
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import org.gradle.api.Task
import org.gradle.api.file.Directory
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.plugins.JavaPlugin
import org.gradle.api.provider.Provider
import org.gradle.api.tasks.TaskContainer
import org.gradle.kotlin.dsl.*
Expand Down Expand Up @@ -170,7 +169,7 @@ class ServerPatchingTasks(
libraryImports.set(importLibFiles.flatMap { it.outputDir })
atFile.set(mergeCollectedAts.flatMap { it.outputFile })
ats.jst.from(softspoon.jstConfig)
ats.jstClasspath.from(project.configurations.named(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME))
ats.jstClasspath.from(softspoon.macheMinecraftLibraries)
}

applySourcePatches.configure {
Expand Down

0 comments on commit 8eda831

Please sign in to comment.