Bumps [org.lwjgl:lwjgl-bom](https://github.com/LWJGL/lwjgl3) from 3.3.1 to 3.3.2. - [Release notes](https://github.com/LWJGL/lwjgl3/releases) - [Commits](https://github.com/LWJGL/lwjgl3/compare/3.3.1...3.3.2) --- updated-dependencies: - dependency-name: org.lwjgl:lwjgl-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.3 KiB
Groovy
47 lines
1.3 KiB
Groovy
import java.text.SimpleDateFormat
|
|
|
|
ext {
|
|
lwjglVersion = '3.3.2'
|
|
}
|
|
|
|
allprojects {
|
|
group 'imgui-java'
|
|
version 'git describe --tags --always'.execute().text.trim().substring(1)
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
tasks.withType(Jar).tap {
|
|
configureEach {
|
|
from(project.rootDir) {
|
|
include 'LICENSE'
|
|
}
|
|
|
|
manifest {
|
|
attributes (
|
|
'Implementation-Title': project.name,
|
|
'Implementation-Version': project.version,
|
|
'Build-Timestamp': new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(System.currentTimeMillis()),
|
|
'Build-Revision': 'git rev-parse HEAD'.execute().text.trim(),
|
|
'Build-Jdk': "${System.getProperty('java.version')} (${System.getProperty('java.vendor')})",
|
|
'Created-By': "Gradle ${gradle.gradleVersion}"
|
|
)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.register('buildAll') { t ->
|
|
t.group = 'build'
|
|
t.description = 'Build all project sources.'
|
|
|
|
t.dependsOn ':imgui-app:shadowJar'
|
|
|
|
['app', 'binding', 'lwjgl3'].each { module ->
|
|
['build', 'sourcesJar', 'javadocJar'].each { task ->
|
|
t.dependsOn ":imgui-$module:$task"
|
|
}
|
|
}
|
|
}
|