com.palantir.sls-pod-distribution
创建一个包含库和脚本的可分发包,这些库和脚本对于轻松部署和运行Java项目来说是必需的。
https://github.com/palantir/sls-packaging
来源: https://github.com/palantir/sls-packaging
使用 插件的DSL
plugins {
id("com.palantir.sls-pod-distribution") version "6.2.0"
}
使用 遗留插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.palantir.sls-packaging:gradle-sls-packaging:6.2.0")
}
}
apply(plugin = "com.palantir.sls-pod-distribution")
使用 插件的DSL
plugins {
id "com.palantir.sls-pod-distribution" version "6.2.0"
}
使用 遗留插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.palantir.sls-packaging:gradle-sls-packaging:6.2.0"
}
}
apply plugin: "com.palantir.sls-pod-distribution"