mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
25 lines
708 B
Groovy
25 lines
708 B
Groovy
configurations {
|
|
doclet {
|
|
transitive(true)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
doclet files("vendor/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies.jar")
|
|
}
|
|
|
|
|
|
gradle.projectsEvaluated {
|
|
task generateApiDocs(type: Javadoc) {
|
|
source = project(":game").sourceSets.main.java.sourceDirectories
|
|
classpath = project(":game").configurations.runtimeClasspath + project(":game").sourceSets.main.output
|
|
dependsOn(project(":game").assemble)
|
|
|
|
options.encoding 'UTF-8'
|
|
destinationDir = file("build/generated-files")
|
|
options.addStringOption("doclet", "com.microsoft.doclet.DocFxDoclet")
|
|
options.docletpath = configurations.doclet.toList()
|
|
|
|
}
|
|
|
|
} |