Add javadoc generation
This commit is contained in:
1 parent
5c81054682
commit
3f7698fc67
4 files changed
+44
-30
No files matched your search
@@ -32,13 +32,19 @@ task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
archiveClassifier.set('javadoc')
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
MyPublication(MavenPublication) {
|
||||
from components.java
|
||||
groupId 'imgui-java'
|
||||
artifact sourcesJar
|
||||
groupId 'io.imgui.java'
|
||||
artifactId 'lwjgl3'
|
||||
artifact sourcesJar
|
||||
artifact javadocJar
|
||||
version property('version')
|
||||
}
|
||||
}
|
||||
@@ -50,7 +56,7 @@ bintray {
|
||||
publications = ['MyPublication']
|
||||
override = true
|
||||
pkg {
|
||||
repo = 'imgui-java'
|
||||
repo = 'io.imgui.java'
|
||||
name = 'lwjgl3'
|
||||
userOrg = user
|
||||
desc = 'Backend implementation for imgui-java based on LWJGL3'
|
||||
|
||||
@@ -14,7 +14,8 @@ import java.util.Objects;
|
||||
import static org.lwjgl.opengl.GL30.*;
|
||||
|
||||
/**
|
||||
* This class mostly a straightforward port of the https://raw.githubusercontent.com/ocornut/imgui/v1.74/examples/imgui_impl_opengl3.cpp
|
||||
* This class mostly a straightforward port of the
|
||||
* <a href="https://raw.githubusercontent.com/ocornut/imgui/v1.74/examples/imgui_impl_opengl3.cpp">https://raw.githubusercontent.com/ocornut/imgui/v1.74/examples/imgui_impl_opengl3.cpp</a>
|
||||
* adapted for Java and LWJGL realms.
|
||||
* <p>
|
||||
* It do support a backup of the current GL state before rendering and restoring of its initial state after.
|
||||
|
||||
Reference in new issue
Block a user