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:
@@ -20,7 +20,7 @@ dependencies {
|
||||
compileOnlyApi(libs.checkerFramework)
|
||||
compileOnlyApi(libs.jetbrainsAnnotations)
|
||||
|
||||
"docApi"(project(":"))
|
||||
"docApi"(project(":common-api"))
|
||||
}
|
||||
|
||||
tasks.javadoc {
|
||||
|
@@ -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 {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user