com.github.crogers.import-style
所有者: Callum Rogers
在gradle中指定您的导入顺序样式,以在IntelliJ中设置它们
https://github.com/CRogers/gradle-import-styling
来源:https://github.com/CRogers/gradle-import-styling
使用plugins DSL
plugins {
id("com.github.crogers.import-style") version "0.1.2"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.crogers:gradle-import-style:0.1.2")
}
}
apply(plugin = "com.github.crogers.import-style")
使用plugins DSL
plugins {
id "com.github.crogers.import-style" version "0.1.2"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.crogers:gradle-import-style:0.1.2"
}
}
apply plugin: "com.github.crogers.import-style"