1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-12 12:37:39 +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

@@ -20,7 +20,7 @@ dependencies {
compileOnlyApi(libs.checkerFramework)
compileOnlyApi(libs.jetbrainsAnnotations)
"docApi"(project(":"))
"docApi"(project(":common-api"))
}
tasks.javadoc {

View File

@@ -34,11 +34,11 @@ import net.minecraft.resources.ResourceLocation;
* // ...
* }
* }</pre>
* <p>
* New capabilities or block lookups (those not built into Forge/Fabric) must be explicitly registered using the
* loader-specific API.
*
* @see dan200.computercraft.api.ComputerCraftAPI#registerGenericSource(GenericSource)
* @see dan200.computercraft.api.ForgeComputerCraftAPI#registerGenericCapability New capabilities (those not
* built into Forge) must be explicitly given to the generic peripheral system, as there is no way to enumerate all
* capabilities.
*/
public interface GenericSource {
/**