Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5) from 5.10.1 to 5.10.2. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.2) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api 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>
46 lines
920 B
Groovy
46 lines
920 B
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
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.10.2'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.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'
|
|
}
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('**/imgui-java.properties') {
|
|
filter(ReplaceTokens, tokens: [
|
|
'version': project.version
|
|
])
|
|
}
|
|
}
|