1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-18 15:37:38 +00:00

Improve packaging of published jars

- Publish javadoc again: for now this is just the common-api

 - Remove all dependencies from the published Forge jar. This is
   technically not needed (fg.deobf does this anyway), but seems
   sensible.
This commit is contained in:
Jonathan Coates
2022-11-08 16:43:27 +00:00
parent 0908acbe9b
commit 320007dbc6
10 changed files with 56 additions and 20 deletions

View File

@@ -95,7 +95,7 @@ class MinecraftConfigurations private constructor(private val project: Project)
// Configure some tasks to include our additional files.
project.tasks.named("javadoc", Javadoc::class.java) {
source += client.allJava
source(client.allJava)
classpath = main.compileClasspath + main.output + client.compileClasspath + client.output
}
// This are already done by Fabric, but we need it for Forge and vanilla. It shouldn't conflict at all.