forked from qupath/qupath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
32 lines (25 loc) · 1.25 KB
/
build.gradle
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
plugins {
id 'qupath.java-conventions'
}
// We don't want to generate javadocs for the root project
javadoc.enabled = false
// See https://discuss.gradle.org/t/best-approach-gradle-multi-module-project-generate-just-one-global-javadoc/18657
task mergedJavadocs(type: Javadoc,
description: 'Generate merged javadocs for all projects',
group: 'Documentation',
dependsOn: subprojects.tasks.collect {it.withType(Javadoc)} ) {
destinationDir = file("$buildDir/docs-merged/javadoc")
title = "QuPath $gradle.ext.qupathVersion"
// See https://docs.gradle.org/current/javadoc/org/gradle/external/javadoc/StandardJavadocDocletOptions.html
options.author(true)
options.addStringOption('Xdoclint:none', '-quiet')
options.encoding = 'UTF-8'
options.links 'https://docs.oracle.com/en/java/javase/11/docs/api/'
options.links 'https://openjfx.io/javadoc/19/'
options.links 'https://javadoc.io/doc/org.bytedeco/javacpp/1.5.8/'
options.links 'https://javadoc.io/doc/org.bytedeco/opencv/4.6.0-1.5.8/'
options.links 'https://javadoc.io/doc/com.google.code.gson/gson/2.10/'
options.links 'https://javadoc.io/doc/org.locationtech.jts/jts-core/1.19.0/'
options.links 'https://javadoc.io/doc/net.imagej/ij/1.53t/'
options.links 'https://javadoc.scijava.org/Bio-Formats/'
}