mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 04:30:29 +00:00
c82f37d3bf
See comments in c8c128d335
for further
details. This requires /relatively/ few changes - mostly cases we were
missing @Nullable annotations.
30 lines
599 B
Plaintext
30 lines
599 B
Plaintext
plugins {
|
|
id("cc-tweaked.java-convention")
|
|
id("cc-tweaked.publishing")
|
|
id("cc-tweaked.errorprone")
|
|
id("cc-tweaked")
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
}
|
|
|
|
// Due to the slightly circular nature of our API, add the main API jars to the javadoc classpath.
|
|
val docApi by configurations.registering {
|
|
isTransitive = false
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":mc-stubs"))
|
|
compileOnlyApi(libs.jsr305)
|
|
compileOnlyApi(libs.checkerFramework)
|
|
compileOnlyApi(libs.jetbrainsAnnotations)
|
|
|
|
"docApi"(project(":"))
|
|
}
|
|
|
|
tasks.javadoc {
|
|
// Depend on
|
|
classpath += docApi
|
|
}
|