Search Gradle plugins

Version 1.0.1 (latest)

1.0.1

Created 04 May 2024.

Sets up basic conventions for Android projects, such as target sdk and Kotlin/Java versions

Using the plugins DSL:

plugins {
  id("nl.littlerobots.android-basic-conventions") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("nl.littlerobots:android-basic-conventions:1.0.1")
  }
}

apply(plugin = "nl.littlerobots.android-basic-conventions")

Using the plugins DSL:

plugins {
  id "nl.littlerobots.android-basic-conventions" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "nl.littlerobots:android-basic-conventions:1.0.1"
  }
}

apply plugin: "nl.littlerobots.android-basic-conventions"

Learn how to apply plugins to subprojects