com.palantir.java-format-provider
暴露了一个包含 palantir-java-format jars 的配置
https://github.com/palantir/palantir-java-format/
源代码: https://github.com/palantir/palantir-java-format/
使用插件 DSL
plugins {
id("com.palantir.java-format-provider") version "2.50.0"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.palantir.javaformat:gradle-palantir-java-format:2.50.0")
}
}
apply(plugin = "com.palantir.java-format-provider")
使用插件 DSL
plugins {
id "com.palantir.java-format-provider" version "2.50.0"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.palantir.javaformat:gradle-palantir-java-format:2.50.0"
}
}
apply plugin: "com.palantir.java-format-provider"