mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add native profile to spring-boot-starter-parent
Closes gh-30830 Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
This commit is contained in:
parent
e81c6337c6
commit
80470f0b26
@ -1036,6 +1036,13 @@ bom {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
library("Native Build Tools Plugin", "0.9.11") {
|
||||||
|
group("org.graalvm.buildtools") {
|
||||||
|
plugins = [
|
||||||
|
"native-maven-plugin"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
library("NekoHTML", "1.9.22") {
|
library("NekoHTML", "1.9.22") {
|
||||||
group("net.sourceforge.nekohtml") {
|
group("net.sourceforge.nekohtml") {
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -217,6 +217,39 @@ publishing.publications.withType(MavenPublication) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
profiles {
|
||||||
|
profile {
|
||||||
|
delegate.id("native")
|
||||||
|
build {
|
||||||
|
plugins {
|
||||||
|
plugin {
|
||||||
|
delegate.groupId('org.springframework.boot')
|
||||||
|
delegate.artifactId('spring-boot-maven-plugin')
|
||||||
|
executions {
|
||||||
|
execution {
|
||||||
|
delegate.id('aot-generate')
|
||||||
|
goals {
|
||||||
|
delegate.goal('aot-generate')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
plugin {
|
||||||
|
delegate.groupId('org.graalvm.buildtools')
|
||||||
|
delegate.artifactId('native-maven-plugin')
|
||||||
|
executions {
|
||||||
|
execution {
|
||||||
|
delegate.id('build-native')
|
||||||
|
goals {
|
||||||
|
delegate.goal('build')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user