Search Gradle plugins

Version 1.0.0 (latest)

Created 02 September 2021.

A plugin that adds Android style flavours to your java projects

Using the plugins DSL:

plugins {
  id "com.github.wainaina" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.wainaina:gradle-java-flavours:1.0.0"
  }
}

apply plugin: "com.github.wainaina"

Using the plugins DSL:

plugins {
  id("com.github.wainaina") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.wainaina:gradle-java-flavours:1.0.0")
  }
}

apply(plugin = "com.github.wainaina")

Learn how to apply plugins to subprojects