com.github.sherter.google-java-format
Owner: Simon Herter
Format your Java source files with google-java-format
https://github.com/sherter/google-java-format-gradle-plugin
Sources: https://github.com/sherter/google-java-format-gradle-plugin.git
Version 0.2
0.2
Created 06 March 2016.
Format your Java source files with google-java-format
Using the plugins DSL:
plugins {
id("com.github.sherter.google-java-format") version "0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.2")
}
}
apply(plugin = "com.github.sherter.google-java-format")
Using the plugins DSL:
plugins {
id "com.github.sherter.google-java-format" version "0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.2"
}
}
apply plugin: "com.github.sherter.google-java-format"