Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2022-08-30 23:27:18 +08:00
javadoc {
2023-02-27 17:30:57 +00:00
javadocTool = javaToolchains.javadocToolFor {
// Last version with frames, but it also has search
2026-06-19 08:31:17 -05:00
languageVersion = JavaLanguageVersion.of(25)
2023-02-27 17:30:57 +00:00
vendor = JvmVendorSpec.ADOPTIUM
}
2022-08-30 23:27:18 +08:00
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"
2026-06-19 08:31:17 -05:00
links 'https://docs.oracle.com/en/java/javase/25/docs/api/'
2022-08-30 23:27:18 +08:00
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"
}
}