File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ # spotless-cli releases
2+
3+ We adhere to the [ keepachangelog] ( https://keepachangelog.com/en/1.0.0/ ) format
4+
5+ ## [ Unreleased]
6+
7+ ## [ 0.0.1] - 2024-11-06
8+ Anchor version number.
Original file line number Diff line number Diff line change 11plugins {
22 id ' org.graalvm.buildtools.native'
3+ id ' application'
4+ id ' com.gradleup.shadow'
35}
46apply from : rootProject. file(' gradle/changelog.gradle' )
57ext. artifactId = project. artifactIdGradle
@@ -48,6 +50,12 @@ tasks.withType(org.graalvm.buildtools.gradle.tasks.BuildNativeImageTask).configu
4850 notCompatibleWithConfigurationCache(' https://github.com/britter/maven-plugin-development/issues/8' )
4951}
5052
53+ application {
54+ mainClass = ' com.diffplug.spotless.cli.SpotlessCLI'
55+ applicationName = ' spotless'
56+ archivesBaseName = ' spotless-cli'
57+ }
58+
5159// use tasks 'nativeCompile' and 'nativeRun' to compile and run the native image
5260graalvmNative {
5361 binaries {
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ plugins {
2525 id ' dev.equo.ide' version ' 1.7.8' apply false
2626 // https://github.com/graalvm/native-build-tools/releases
2727 id ' org.graalvm.buildtools.native' version ' 0.10.2' apply false
28+ // https://github.com/GradleUp/shadow/releases
29+ id ' com.gradleup.shadow' version ' 8.3.5' apply false
2830}
2931
3032dependencyResolutionManagement {
You can’t perform that action at this time.
0 commit comments