Search Gradle plugins

Version 1.0.1 (latest)

Created 06 September 2021.

A plugin that adds Android style flavours to your java projects

Using the plugins DSL:

plugins {
  id "com.microsoft.javaflavours" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.microsoft:gradle-java-flavors:1.0.1"
  }
}

apply plugin: "com.microsoft.javaflavours"

Using the plugins DSL:

plugins {
  id("com.microsoft.javaflavours") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.microsoft:gradle-java-flavors:1.0.1")
  }
}

apply(plugin = "com.microsoft.javaflavours")

Learn how to apply plugins to subprojects