mirror of
https://github.com/AppleCommander/bastools.git
synced 2026-04-19 16:16:37 +00:00
72b5359781
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.11.3 to 0.11.4. - [Release notes](https://github.com/graalvm/native-build-tools/releases) - [Commits](https://github.com/graalvm/native-build-tools/compare/0.11.3...0.11.4) --- updated-dependencies: - dependency-name: org.graalvm.buildtools.native dependency-version: 0.11.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
58 lines
1.3 KiB
Groovy
58 lines
1.3 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version "4.0.2"
|
|
id 'java'
|
|
id 'application'
|
|
id 'org.graalvm.buildtools.native' version '0.11.4'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'Shape Tools CLI',
|
|
'Implementation-Version': "${project.version} (${new Date().format('yyyy-MM-dd HH:mm')})"
|
|
)
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = "org.applecommander.bastools.tools.st.Main"
|
|
}
|
|
|
|
// Disable all Spring AOT processing
|
|
processAot.configure {
|
|
enabled = false;
|
|
}
|
|
processTestAot.configure {
|
|
enabled = false;
|
|
}
|
|
|
|
bootJar {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'Shape Tools CLI',
|
|
'Implementation-Version': "${project.version} (${new Date().format('yyyy-MM-dd HH:mm')})"
|
|
)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'info.picocli:picocli:4.7.7'
|
|
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
|
implementation 'net.sf.applecommander:AppleCommander:1.10.1'
|
|
implementation project(':bastools-api')
|
|
}
|
|
|
|
graalvmNative {
|
|
String osName = System.getProperty('os.name').toLowerCase().split()[0]
|
|
String osArch = System.getProperty('os.arch').toLowerCase().split()[0]
|
|
binaries {
|
|
named("main") {
|
|
imageName.set("st-${osName}-${osArch}-${project.version}")
|
|
}
|
|
}
|
|
}
|