Search Gradle plugins

Version 3.0.0 (latest)

Created 26 October 2017.

Adds fields to BuildConfig class from json file

Using the plugins DSL:

plugins {
  id("com.github.nomensvyat.switchbox") version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.nomensvyat:SwitchBoxPlugin:3.0.0")
  }
}

apply(plugin = "com.github.nomensvyat.switchbox")

Using the plugins DSL:

plugins {
  id "com.github.nomensvyat.switchbox" version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.nomensvyat:SwitchBoxPlugin:3.0.0"
  }
}

apply plugin: "com.github.nomensvyat.switchbox"

Learn how to apply plugins to subprojects