Initial javadoc support

This commit is contained in:
libraryaddict 2024-09-10 15:53:32 +12:00
parent 3e24b5381a
commit 10e3a79aa6
2 changed files with 13 additions and 3 deletions

View File

@ -19,6 +19,16 @@ dependencies {
compileOnly(libs.placeholder.api)
}
tasks.withType<Javadoc>().configureEach {
title = "LibsDisguises"
javadocTool.set(
javaToolchains.javadocToolFor {
languageVersion = JavaLanguageVersion.of(21)
}
)
}
publishing {
repositories {
// If 'publishToExternalRepo' is false or missing, only publish to local.

View File

@ -949,8 +949,8 @@ public class MetaIndex<Y> {
}
/**
* Simple verification for the dev that he's setting up the FlagType's properly.
* All flag types should be from 0 to <Max Number> with no empty numbers.
* Simple verification for the dev that they're setting up the FlagType's properly.
* All flag types should be from 0 to {@code Max Number} with no empty numbers.
* All flag types should never occur twice.
*/
public static void validateMetadata() {
@ -1067,7 +1067,7 @@ public class MetaIndex<Y> {
/**
* @param watcherClass - A flagwatcher class
* @return ArrayList<MetaIndex> registered to that FlagWatcher
* @return MetaIndexes registered to that FlagWatcher
*/
public static ArrayList<MetaIndex> getMetaIndexes(Class<? extends FlagWatcher> watcherClass) {
ArrayList<MetaIndex> list = new ArrayList<>();