aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 18:43:37 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 18:43:37 +0300
commit23406db80a4672c146aa1b720f403a6a5d4e464f (patch)
treec257f140b883118b9e21e234a958147fba5d9556 /build.gradle
parent00a0bb5a4176c16be3fa61ad33713131a053168f (diff)
downloadLibGui-23406db80a4672c146aa1b720f403a6a5d4e464f.tar.gz
LibGui-23406db80a4672c146aa1b720f403a6a5d4e464f.tar.bz2
LibGui-23406db80a4672c146aa1b720f403a6a5d4e464f.zip
Add taglet for listing observable properties
Overkill? Yep. Still fancy? Absolutely!
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 9f04998..b0c39a2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,6 +16,10 @@ archivesBaseName = project.archives_base_name
version = "$project.mod_version+$project.minecraft_version"
group = project.maven_group
+configurations {
+ javadocClasspath
+}
+
repositories {
maven { url "https://server.bbkr.space/artifactory/libs-release" }
/*maven {
@@ -47,6 +51,8 @@ dependencies {
modRuntime(modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") {
exclude group: 'net.fabricmc.fabric-api'
})
+
+ javadocClasspath project(':javadoc')
}
processResources {
@@ -79,9 +85,15 @@ checkstyle {
toolVersion = '8.36.2'
}
+evaluationDependsOn(':javadoc')
+
javadoc {
+ dependsOn project(':javadoc').tasks.jar
+
options {
links("https://maven.fabricmc.net/docs/yarn-$project.yarn_mappings")
+ taglets 'io.github.cottonmc.cotton.gui.jd.PropertyTaglet'
+ tagletPath project(':javadoc').tasks.jar.outputs.files.singleFile
}
exclude("**/impl/**")