resolve #75 resolve #127 Removed shadowing for `imgui-java-app.jar` which is published to Maven Central. Shadow Jar now has a prefix `-all` - for those one who prefer to use raw jars instead dependencies in maven/gradle.
37 lines
698 B
Groovy
37 lines
698 B
Groovy
import tool.generator.GenerateLibs
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'checkstyle'
|
|
id 'maven-publish'
|
|
id 'signing'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(8))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.register('generateLibs', GenerateLibs) {
|
|
it.dependsOn assemble
|
|
}
|
|
|
|
apply from: "$rootDir/publish.gradle"
|
|
configurePublishing('imgui-java-binding', 'JNI based binding for Dear ImGui', project.version)
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Automatic-Module-Name': 'imgui.binding'
|
|
}
|
|
}
|