Export codegen feature + correct javadoc

This commit is contained in:
jglrxavpok 2020-09-23 21:21:21 +02:00
parent 890cfe4622
commit 4079d8e746
2 changed files with 8 additions and 2 deletions

View File

@ -67,14 +67,20 @@ sourceSets {
} }
} }
// Minestom uses LWJGL libs as optional dependency if interfacing with a GPU is asked
java { java {
// Minestom uses LWJGL libs as optional dependency if interfacing with a GPU is asked
registerFeature("lwjgl") { registerFeature("lwjgl") {
usingSourceSet(sourceSets.lwjgl) usingSourceSet(sourceSets.lwjgl)
withJavadocJar() withJavadocJar()
withSourcesJar() withSourcesJar()
} }
registerFeature("generators") {
usingSourceSet(sourceSets.generators)
withJavadocJar()
withSourcesJar()
}
withJavadocJar() withJavadocJar()
withSourcesJar() withSourcesJar()
} }

View File

@ -56,7 +56,7 @@ public interface SerializableData extends Data {
void readIndexedSerializedData(BinaryReader reader); void readIndexedSerializedData(BinaryReader reader);
/** /**
* Get the index info (class name -> class index) * Get the index info (class name -> class index)
* <p> * <p>
* Sized by a var-int * Sized by a var-int
* *