mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-02-05 15:11:52 +01:00
Add javadoc
This commit is contained in:
parent
e1a62156c2
commit
4879e0b62a
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,3 +35,4 @@ wiki_permissions.md
|
||||
/textures
|
||||
*.iml
|
||||
/obj
|
||||
docs/
|
||||
|
@ -20,10 +20,12 @@ It is available for Bukkit, Forge, Sponge and Nukkit.
|
||||
### <1.12.2
|
||||
* [Download](https://empcraft.com/fawe/download/?bukkit)
|
||||
* [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit/)
|
||||
* [JavaDoc](https://ci.athion.net/job/FastAsyncWorldEdit/javadoc/)
|
||||
|
||||
### 1.13+
|
||||
* [Download](https://empcraft.com/fawe/download/?bukkit113)
|
||||
* [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit-1.13/)
|
||||
* [JavaDoc](https://ci.athion.net/job/FastAsyncWorldEdit-1.13/javadoc/)
|
||||
* [Repository](https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13)
|
||||
|
||||
## Developer Resources
|
||||
|
20
build.gradle
20
build.gradle
@ -75,7 +75,7 @@ ext {
|
||||
|
||||
version = date + revision + buildNumber + semver
|
||||
if ( project.hasProperty("lzNoVersion") ) { // gradle build -PlzNoVersion
|
||||
version = "unknown";
|
||||
version = "unknown"
|
||||
}
|
||||
description = """FastAsyncWorldEdit"""
|
||||
|
||||
@ -113,3 +113,21 @@ subprojects {
|
||||
maven {url "https://store.ttyh.ru/libraries/"}
|
||||
}
|
||||
}
|
||||
task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all child projects as if it was a single project', group: 'Documentation') {
|
||||
destinationDir = file("./docs/javadoc")
|
||||
title = "$project.name $version API"
|
||||
options.author true
|
||||
options.links 'http://docs.spring.io/spring/docs/4.3.x/javadoc-api/', 'http://docs.oracle.com/javase/8/docs/api/', 'http://docs.spring.io/spring-ws/docs/2.3.0.RELEASE/api/', 'http://docs.spring.io/spring-security/site/docs/4.0.4.RELEASE/apidocs/'
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
|
||||
delete "./docs"
|
||||
|
||||
subprojects.each { proj ->
|
||||
proj.tasks.withType(Javadoc).each { javadocTask ->
|
||||
source += javadocTask.source
|
||||
classpath += javadocTask.classpath
|
||||
excludes += javadocTask.excludes
|
||||
includes += javadocTask.includes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user