ihu-boot
...About 1 min
ihu-boot
plugin description
ihub-bootplugin for integrationspring-bootplugin and mirror default configuration.
| Information | Description |
|---|---|
| Plugin ID | pub.ihub.plugin.ihub-boot |
| Plugin Name | Boot Plugin |
| Plugin Type | Project[^Project] |
| Extension Name | iHubBoot |
| Plugin Dependencies | ihub-java,org.springframe.boot |
Extended Properties
runat the beginning ofproperty,bootJarat the beginning ofpack property,bpat the beginning of image constructionattribute when image is constructed,bplstarts withstartup properties,dockerstarts withDocker repository associated properties,reference
| Extension | Description | Default | Ext[^Ext] | Prj[^Prj] | Sys[^Sys] | Env[^Env] |
|---|---|---|---|---|---|---|
runProperties | bootRun propertiesSee | ❌ | ✔ | ❌ | ❌ | ❌ |
runIncludePropNames | Running with system property name (,separated, supported wildcard*)See | ❌ | ✔ | ✔ | ✔ | ❌ |
runSkippedPropNames | Exclude system property name on runtime (,separated, supported wildcard*)See | ❌ | ✔ | ✔ | ✔ | ❌ |
EnabledLocalProperties | Enable local propertiesSee | true | ✔ | ✔ | ❌ | ❌ |
runOptimizedLaunch | Optimize start | true | ✔ | ✔ | ✔ | ❌ |
Boot JarRequires Unpack | Configure libraries to be removed | ❌ | ✔ | ✔ | ❌ | ❌ |
bpJvmVersion | JVM Version | Default current version | ✔ | ✔ | ❌ | ❌ |
bpCleanCache | Whether to clean the cache before building | false | ✔ | ✔ | ❌ | ❌ |
bpVerboseLogging | Enable detailed logging of builder operations | false | ✔ | ✔ | ❌ | ❌ |
bpPubant | Whether to publish the generated mirrors to the Docker repository | false | ✔ | ✔ | ❌ | ❌ |
httpProxy | httpProxy | ❌ | ✔ | ✔ | ❌ | ❌ |
httpsProxy | https proxy | ❌ | ✔ | ✔ | ❌ | ❌ |
bplJvmHeadRoom | JVM Memory | 8G | ✔ | ✔ | ❌ | ❌ |
bplJvmLoadedClassCount | Number of categories loaded while JVM is running | 35% of classes | ✔ | ✔ | ❌ | ❌ |
bplJvmThreadCount | Number of user threads when JVM is running | 250 | ✔ | ✔ | ❌ | ❌ |
javaToolOptions | JVM Environment Variables | ❌ | ✔ | ✔ | ❌ | ❌ |
bpeEnvironment | JVM Runtime Variable,Reference | ❌ | ✔ | ❌ | ❌ | ❌ |
dockerHost | Url of the docker daemon host and port | ❌ | ✔ | ✔ | ❌ | ❌ |
dockerTlsVerify | Enable secure https' protocol | false | ✔ | ✔ | ❌ | ❌ |
dockerCertPath | Path to https' certificate and key files | ❌ | ✔ | ✔ | ❌ | ❌ |
dockerUrl | Docker Private Mirror Repository Address | ❌ | ✔ | ✔ | ❌ | ❌ |
dockerUsername | Docker Private Image Repository Username | ❌ | ✔ | ✔ | ✔ | ✔ |
dockerPassword | Docker Private Mirror Repository Password | ❌ | ✔ | ✔ | ✔ | ✔ |
docker Email | Docker Private Image Repository Mailbox | ❌ | ✔ | ✔ | ❌ | ❌ |
dockerToken | Docker Private Image Repository Identity Token | ❌ | ✔ | ✔ | ✔ | ✔ |
Plugin Installation
Kotlin
plugins {
id("pub.ihub.plugin.ihub-boot")
}
Groovy
plugins {
id 'pub.ihub.plugin.ihub-boot'
}
Configuration Example
Kotlin
iHubBoot {
runProperties.set(mapOf("spring.profiles.activ" to "dev")
}
Groovy
iHubBoot {
runProperties = [
'spring.profiles.active': 'dev'
]
}

