-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathaddon.gradle
More file actions
41 lines (34 loc) · 1.03 KB
/
addon.gradle
File metadata and controls
41 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
javadoc {
javadocTool = javaToolchains.javadocToolFor {
//java 11 crashes with Jabel modern syntax
languageVersion = JavaLanguageVersion.of(23)
vendor = JvmVendorSpec.ADOPTIUM
}
include "com/gtnewhorizons/wdmla/**"
exclude "com/gtnewhorizons/wdmla/plugin/**"
exclude "com/gtnewhorizons/wdmla/test/**"
include "mcp/mobius/waila/**"
exclude "mcp/mobius/waila/addons/**"
exclude "mcp/mobius/waila/test/**"
classpath += sourceSets.patchedMc.output
options {
addStringOption("Xdoclint:none", "-quiet")
links 'https://docs.oracle.com/en/java/javase/24/docs/api/'
links 'https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/'
}
destinationDir = file("${projectDir}/src/doc")
}
tasks.register('javadocJar', Jar) {
dependsOn javadoc
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives javadocJar
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}