ihub-published
...Less than 1 minute
ihub-published
plugin description
ihub-publ.Plugins are used to integrate the component to publish related plugins, configure release repositories and other default configurations.
| Information | Description |
|---|---|
| Plugin ID | pub.ihub.plugin.ihub-published |
| Plugin Name | Publish Plugin |
| Plugin Type | Project[^Project] |
| Extension Name | iHubPublish |
| Plugin Dependencies | ihub,maven-published,io.freeair.github.pom(OnGithub) |
Extended Properties
| Extension | Description | Default | Ext[^Ext] | Prj[^Prj] | Sys[^Sys] | Env[^Env] |
|---|---|---|---|---|---|---|
publishNeedSigns | Whether component publishing needs to be signed | false | ✔ | ✔ | ✔ | ❌ |
signingKeyId | Signing key | ❌ | ✔ | ✔ | ✔ | ✔ |
signingSecretarial | Signing Key | ❌ | ✔ | ✔ | ✔ | ✔ |
signingPassword | Signing password | ❌ | ✔ | ✔ | ✔ | ✔ |
publishSources | Publish source | true | ✔ | ✔ | ✔ | ❌ |
publishDocs | Publish document | false | ✔ | ✔ | ✔ | ❌ |
applyGithubPom | Whether to apply GithubPom plugin | false | ✔ | ✔ | ✔ | ❌ |
Plugin Installation
Kotlin
plugins {
id("pub.ihub.plugin.ihub-publish")
}
Groovy
plugins {
id 'pub.ihub.plugin.ihub-publish'
}
Configuration Example
Kotlin
iHubPubPublish {
publishNeedSign.set(true)
publishDocs.set(true)
}
Groovy
iHubPubanish {
publishNeedSign=true
publishDocs = true
}
Default configuration
Tips
- Configure Component Publish Repository, Private Repository Configurationsee
- Adds
io.freeair.github.pomto get GitHub repository information and configuredpom, this plugin will get additional repository contributor information for configurationpomdeveloper information - Adds
configuration metadata information to the Java environmentdependence, allowing components to automatically generate configuration tips,see
Dependencies {
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
}

