Search Gradle plugins

net.yhf.build-profiles

Support multiple build profiles for your project. You can activate/deactivate profiles during gradle call

https://github.com/YahyaAlfayad/gradle-build-profiles

Sources: https://github.com/YahyaAlfayad/gradle-build-profiles

Version 1.0.3 (latest)

Created 23 May 2016.

Support multiple build profiles for your project. You can activate/deactivate profiles during gradle call. Check plugin site for more details: https://github.com/YahyaAlfayad/gradle-build-profiles

Add this plugin to your build using the plugins DSL:

plugins {
  id("net.yhf.build-profiles") version "1.0.3"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("net.yhf.build-profiles:net.yhf.build-profiles.gradle.plugin:1.0.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("net.yhf.build-profiles")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("net.yhf.build-profiles:net.yhf.build-profiles.gradle.plugin:1.0.3")
      }
    }
    
    apply(plugin = "net.yhf.build-profiles")
  • Applying plugins to all subprojects .