Remove setting BP_NATIVE_IMAGE
Closes gh-32884
This commit is contained in:
@@ -88,13 +88,6 @@ class NativeImagePluginActionIntegrationTests {
|
||||
"META-INF/native-image/org.jline/jline/3.21.0/resource-config.json");
|
||||
}
|
||||
|
||||
@TestTemplate
|
||||
void bootBuildImageIsConfiguredToBuildANativeImage() {
|
||||
writeDummySpringApplicationAotProcessorMainClass();
|
||||
BuildResult result = this.gradleBuild.build("bootBuildImageConfiguration");
|
||||
assertThat(result.getOutput()).contains("BP_NATIVE_IMAGE = true");
|
||||
}
|
||||
|
||||
@TestTemplate
|
||||
void developmentOnlyDependenciesDoNotAppearInNativeImageClasspath() {
|
||||
writeDummySpringApplicationAotProcessorMainClass();
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '{version}'
|
||||
id 'java'
|
||||
}
|
||||
|
||||
apply plugin: 'org.graalvm.buildtools.native'
|
||||
|
||||
task('bootBuildImageConfiguration') {
|
||||
doFirst {
|
||||
println "BP_NATIVE_IMAGE = ${tasks.getByName('bootBuildImage').environment.get()['BP_NATIVE_IMAGE']}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user