ihub-profiles
...Less than 1 minute
ihub-profiles
plugin description
ihub-profiles
Gradle version Maven POM Profiles
Info | Description |
---|---|
Plugin Id | pub.ihub.plugin.ihub-profiles |
Plugin Name | Profile Plugin |
Plugin Type | Project [^Project] |
Extension Name | iHubProfiles |
Plugin dependencies | ihub |
plugin feature
based oniHub.profile
attributes, differentprofile
extension configuration
Plugin Installation
Kotlin
plugins {
id("pub.ihub.plugin.ihub-profiles")
}
Groovy
plugins {
id 'pub.ihub.plugin.ihub-profiles'
}
Note
If the base pluginihub
is installed, there is no need to installihub-profiles
plugin,ihub
plugin is already integrated withihu-profiles
plugin.
Configuration Example
Kotlin
iHubProfiles {
profile("dev") {
println("dev")
}
profile("test") {
println("test")
}
profile("prod") {
println("prod")
}
}
Groovy
iHubProfiles {
profile('dev') {
println 'dev'
}
profile('test') {
println 'test'
}
profile('prod') {
println 'prod'
}
}