mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-05 09:36:19 +00:00
320007dbc6
- 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.
22 lines
484 B
Plaintext
22 lines
484 B
Plaintext
plugins {
|
|
id("cc-tweaked.java-convention")
|
|
id("cc-tweaked.publishing")
|
|
id("cc-tweaked.vanilla")
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core-api"))
|
|
compileOnly(project(":forge-stubs"))
|
|
}
|
|
|
|
tasks.javadoc {
|
|
include("dan200/computercraft/api/**/*.java")
|
|
|
|
// Include the core-api in our javadoc export. This is wrong, but it means we can export a single javadoc dump.
|
|
source(project(":core-api").sourceSets.main.map { it.allJava })
|
|
}
|