Search Gradle plugins

Version 1.1.0 (latest)

1.1.0

Created 26 July 2018.

Configures the checkstyle plugin for Android projects

Using the plugins DSL:

plugins {
  id("com.leinardi.android.checkstyle") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.leinardi.android:android-checkstyle-plugin:1.1.0")
  }
}

apply(plugin = "com.leinardi.android.checkstyle")

Using the plugins DSL:

plugins {
  id "com.leinardi.android.checkstyle" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.leinardi.android:android-checkstyle-plugin:1.1.0"
  }
}

apply plugin: "com.leinardi.android.checkstyle"

Learn how to apply plugins to subprojects