Skip to main content

ihub-profiles

Henry...Less than 1 minute

ihub-profiles

plugin description

ihub-profilesGradle version Maven POM Profiles

InfoDescription
Plugin Idpub.ihub.plugin.ihub-profiles
Plugin NameProfile Plugin
Plugin TypeProject[^Project]
Extension NameiHubProfiles
Plugin dependenciesihub

plugin feature

based oniHub.profileattributes, differentprofileextension configuration

Plugin Installation

Kotlin
plugins {
    id("pub.ihub.plugin.ihub-profiles")
}

Note

If the base pluginihubis installed, there is no need to installihub-profilesplugin,ihubplugin is already integrated withihu-profilesplugin.

Configuration Example

Kotlin
iHubProfiles {
    profile("dev") {
        println("dev")
    }
    profile("test") {
        println("test")
    }
    profile("prod") {
        println("prod")
    }
}