mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-07 19:18:01 +01:00
Initial javadoc support
This commit is contained in:
parent
3e24b5381a
commit
10e3a79aa6
@ -19,6 +19,16 @@ dependencies {
|
|||||||
compileOnly(libs.placeholder.api)
|
compileOnly(libs.placeholder.api)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<Javadoc>().configureEach {
|
||||||
|
title = "LibsDisguises"
|
||||||
|
|
||||||
|
javadocTool.set(
|
||||||
|
javaToolchains.javadocToolFor {
|
||||||
|
languageVersion = JavaLanguageVersion.of(21)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
// If 'publishToExternalRepo' is false or missing, only publish to local.
|
// If 'publishToExternalRepo' is false or missing, only publish to local.
|
||||||
|
@ -949,8 +949,8 @@ public class MetaIndex<Y> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple verification for the dev that he's setting up the FlagType's properly.
|
* Simple verification for the dev that they're setting up the FlagType's properly.
|
||||||
* All flag types should be from 0 to <Max Number> with no empty numbers.
|
* All flag types should be from 0 to {@code Max Number} with no empty numbers.
|
||||||
* All flag types should never occur twice.
|
* All flag types should never occur twice.
|
||||||
*/
|
*/
|
||||||
public static void validateMetadata() {
|
public static void validateMetadata() {
|
||||||
@ -1067,7 +1067,7 @@ public class MetaIndex<Y> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param watcherClass - A flagwatcher class
|
* @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) {
|
public static ArrayList<MetaIndex> getMetaIndexes(Class<? extends FlagWatcher> watcherClass) {
|
||||||
ArrayList<MetaIndex> list = new ArrayList<>();
|
ArrayList<MetaIndex> list = new ArrayList<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user