Search Gradle plugins

Version 0.7.1 (latest)

Created 19 March 2020.

Plugin for applying common settings to android modules in a multi-module project

Add this plugin to your build using the plugins DSL:

plugins {
  id("kliche.common-android-setup") version "0.7.1"
}

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("kliche.common-android-setup:kliche.common-android-setup.gradle.plugin:0.7.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("kliche.common-android-setup")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("kliche.common-android-setup:kliche.common-android-setup.gradle.plugin:0.7.1")
      }
    }
    
    apply(plugin = "kliche.common-android-setup")
  • Applying plugins to all subprojects .