Skip to content

Commit 39da1c3

Browse files
committed
1 parent 810efdb commit 39da1c3

File tree

1 file changed

+32
-30
lines changed
  • spring-boot-project/spring-boot-starters/spring-boot-starter-parent

1 file changed

+32
-30
lines changed

spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle

+32-30
Original file line numberDiff line numberDiff line change
@@ -232,42 +232,44 @@ publishing.publications.withType(MavenPublication) {
232232
profile {
233233
delegate.id("native")
234234
build {
235-
plugins {
236-
plugin {
237-
delegate.groupId('org.springframework.boot')
238-
delegate.artifactId('spring-boot-maven-plugin')
239-
configuration {
240-
image {
241-
delegate.builder("paketobuildpacks/builder:tiny");
242-
env {
243-
delegate.BP_NATIVE_IMAGE("true")
235+
pluginManagement {
236+
plugins {
237+
plugin {
238+
delegate.groupId('org.springframework.boot')
239+
delegate.artifactId('spring-boot-maven-plugin')
240+
configuration {
241+
image {
242+
delegate.builder("paketobuildpacks/builder:tiny");
243+
env {
244+
delegate.BP_NATIVE_IMAGE("true")
245+
}
244246
}
245247
}
246-
}
247-
executions {
248-
execution {
249-
delegate.id('process-aot')
250-
goals {
251-
delegate.goal('process-aot')
248+
executions {
249+
execution {
250+
delegate.id('process-aot')
251+
goals {
252+
delegate.goal('process-aot')
253+
}
252254
}
253255
}
254256
}
255-
}
256-
plugin {
257-
delegate.groupId('org.graalvm.buildtools')
258-
delegate.artifactId('native-maven-plugin')
259-
configuration {
260-
delegate.classesDirectory('${project.build.outputDirectory}')
261-
metadataRepository {
262-
delegate.enabled('true')
257+
plugin {
258+
delegate.groupId('org.graalvm.buildtools')
259+
delegate.artifactId('native-maven-plugin')
260+
configuration {
261+
delegate.classesDirectory('${project.build.outputDirectory}')
262+
metadataRepository {
263+
delegate.enabled('true')
264+
}
265+
delegate.requiredVersion('22.3')
263266
}
264-
delegate.requiredVersion('22.3')
265-
}
266-
executions {
267-
execution {
268-
delegate.id('add-reachability-metadata')
269-
goals {
270-
delegate.goal('add-reachability-metadata')
267+
executions {
268+
execution {
269+
delegate.id('add-reachability-metadata')
270+
goals {
271+
delegate.goal('add-reachability-metadata')
272+
}
271273
}
272274
}
273275
}

0 commit comments

Comments
 (0)