org.schoormann.android.gradle.astyle
所有者: Timo Schoormann
支持android应用和库模块asty风格的Gradle插件。
https://github.com/tschoormann/gradle-android-astyle
源码: https://github.com/tschoormann/gradle-android-astyle.git
使用plugins DSL
plugins {
id("org.schoormann.android.gradle.astyle") version "0.1.1-SNAPSHOT"
}
使用旧插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.org.schoormann.android.gradle.astyle:AStylePlugin:0.1.1-SNAPSHOT")
}
}
apply(plugin = "org.schoormann.android.gradle.astyle")
使用plugins DSL
plugins {
id "org.schoormann.android.gradle.astyle" version "0.1.1-SNAPSHOT"
}
使用旧插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.org.schoormann.android.gradle.astyle:AStylePlugin:0.1.1-SNAPSHOT"
}
}
apply plugin: "org.schoormann.android.gradle.astyle"