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 {
// Minestom uses LWJGL libs as optional dependency if interfacing with a GPU is asked
registerFeature("lwjgl") {
usingSourceSet(sourceSets.lwjgl)
withJavadocJar()
withSourcesJar()
}
registerFeature("generators") {
usingSourceSet(sourceSets.generators)
withJavadocJar()
withSourcesJar()
}
withJavadocJar()
withSourcesJar()
}

View File

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