Search Gradle plugins

Version 7.2.0-m1 (latest)

7.2.0-m1

Created 24 May 2022.

Generate sources and javadoc jars for all variants of your android project

Using the plugins DSL:

plugins {
  id("io.freefair.android-maven-jars") version "7.2.0-m1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.freefair.gradle:android-gradle-plugins:7.2.0-m1")
  }
}

apply(plugin = "io.freefair.android-maven-jars")

Using the plugins DSL:

plugins {
  id "io.freefair.android-maven-jars" version "7.2.0-m1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.freefair.gradle:android-gradle-plugins:7.2.0-m1"
  }
}

apply plugin: "io.freefair.android-maven-jars"

Learn how to apply plugins to subprojects