Search Gradle plugins

com.github.unchai.ktlint-github

A gradle plugin that leaves comment of the result of a "KtLint" on github's pull request.

https://github.com/unchai/ktlint-github-gradle-plugin

Version 0.0.1 (latest)

Created 21 August 2018.

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 "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 = 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")

Learn how to apply plugins to subprojects