2022-08-30 23:27:18 +08:00
|
|
|
javadoc {
|
|
|
|
|
inputs.file "src/main/javadoc/overview.html"
|
|
|
|
|
|
|
|
|
|
include "com/gtnewhorizon/structurelib/alignment/**"
|
|
|
|
|
include "com/gtnewhorizon/structurelib/constructable/**"
|
|
|
|
|
include "com/gtnewhorizon/structurelib/structure/**"
|
|
|
|
|
include "com/gtnewhorizon/structurelib/util/**"
|
|
|
|
|
include "com/gtnewhorizon/structurelib/StructureLibAPI.java"
|
2022-09-15 15:58:17 +08:00
|
|
|
include "com/gtnewhorizon/structurelib/StructureEvent.java"
|
2022-08-30 23:27:18 +08:00
|
|
|
|
2023-01-30 13:00:51 +00:00
|
|
|
classpath += sourceSets.patchedMc.output
|
|
|
|
|
|
2022-08-30 23:27:18 +08:00
|
|
|
options {
|
|
|
|
|
overview "src/main/javadoc/overview.html"
|
|
|
|
|
links 'https://docs.oracle.com/javase/8/docs/api/'
|
|
|
|
|
links 'https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-30 13:00:51 +00:00
|
|
|
tasks.register('javadocJar', Jar) {
|
|
|
|
|
dependsOn javadoc
|
|
|
|
|
archiveClassifier = 'javadoc'
|
2022-08-30 23:27:18 +08:00
|
|
|
from javadoc.destinationDir
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
|
archives javadocJar
|
|
|
|
|
}
|
2022-09-11 02:54:11 +08:00
|
|
|
|
|
|
|
|
test {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
testLogging {
|
|
|
|
|
events "passed", "skipped", "failed"
|
|
|
|
|
}
|
|
|
|
|
}
|