Search Gradle plugins

Version 0.0.1 (latest)

0.0.1

Created 21 August 2018.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact A gradle plugin that leaves comment of the result of a "KtLint" on github's pull request.

Using the plugins DSL:

plugins {
  id("com.github.unchai.ktlint-github") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.unchai.gradle.ktlint:ktlint-github-gradle-plugin:0.0.1")
  }
}

apply(plugin = "com.github.unchai.ktlint-github")

Using the plugins DSL:

plugins {
  id "com.github.unchai.ktlint-github" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.unchai.gradle.ktlint:ktlint-github-gradle-plugin:0.0.1"
  }
}

apply plugin: "com.github.unchai.ktlint-github"

Learn how to apply plugins to subprojects