com.palantir.sls-java-service-distribution
创建包含库和脚本的可分发包,这些库和脚本对于轻松部署和运行 Java 项目是必要的。
https://github.com/palantir/sls-packaging
源代码: https://github.com/palantir/sls-packaging
使用插件 DSL
plugins {
id("com.palantir.sls-java-service-distribution") version "7.64.0"
}
使用旧插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.palantir.sls-packaging:gradle-sls-packaging:7.64.0")
}
}
apply(plugin = "com.palantir.sls-java-service-distribution")
使用插件 DSL
plugins {
id "com.palantir.sls-java-service-distribution" version "7.64.0"
}
使用旧插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.palantir.sls-packaging:gradle-sls-packaging:7.64.0"
}
}
apply plugin: "com.palantir.sls-java-service-distribution"