File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import java.util.*
22
33plugins {
4- id(" org.mikeneck.graalvm-native-image" ) version " v1.4.0 "
4+ id(" org.mikeneck.graalvm-native-image" )
55 id(" com.github.johnrengelman.shadow" )
6- // id("com.palantir.graal")
76 id(" com.apollographql.apollo3" )
87 id(" com.avast.gradle.docker-compose" )
98 kotlin(" jvm" )
@@ -80,14 +79,9 @@ tasks.create("createProperties") {
8079}
8180tasks[" processResources" ].dependsOn(" createProperties" )
8281
83- configurations {
84- create(" empty" )
85- }
86-
8782nativeImage {
8883 dependsOn(" shadowJar" )
8984 setClasspath(File (project.buildDir, " libs/spp-cli-$version .jar" ))
90- runtimeClasspath = configurations.getByName(" empty" )
9185 graalVmHome = System .getenv(" GRAALVM_HOME" )
9286 buildType { build ->
9387 build.executable(main = " spp.cli.Main" )
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ pluginManagement {
1010 id ' com.avast.gradle.docker-compose' version " 0.14.11" apply false
1111 id ' io.gitlab.arturbosch.detekt' version " 1.19.0" apply false
1212 id ' com.github.johnrengelman.shadow' version " 7.1.2"
13- id ' com.palantir.graal' version " 0.10.0"
1413 id ' com.apollographql.apollo3' version " 3.0.0"
14+ id ' org.mikeneck.graalvm-native-image' version " v1.4.0"
1515 }
1616}
1717
You can’t perform that action at this time.
0 commit comments