1 Star 0 Fork 9

CMeng/openTCS-Integration-LaurusTCS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.04 KB
一键复制 编辑 原始数据 按行查看 历史
JokerRun 提交于 2020-02-06 00:39 +08:00 . rico :: init commit
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
// License plugin
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.12.1'
// Versions plugin
classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0'
// Stats plugin
classpath 'org.kordamp.gradle:stats-gradle-plugin:0.2.0'
}
}
apply plugin: 'base'
apply plugin: 'distribution'
apply from: "${rootDir}/gradle/versioning.gradle"
group = 'de.fraunhofer.iml.opentcs.example'
repositories {
jcenter()
}
subprojects {
apply from: rootProject.file('gradle/common.gradle')
}
evaluationDependsOnChildren()
distributions {
main {
contents.from {
project(':openTCS-LaurusTCS-Kernel').ext.collectableDistDir
}
contents.from {
project(':openTCS-LaurusTCS-KernelControlCenter').ext.collectableDistDir
}
contents.from {
project(':openTCS-LaurusTCS-PlantOverview').ext.collectableDistDir
}
contents.from {
project(':openTCS-LaurusTCS-Documentation').ext.collectableDistDir
}
}
}
task subDists {
dependsOn(':openTCS-LaurusTCS-Kernel:installDist')
dependsOn(':openTCS-LaurusTCS-KernelControlCenter:installDist')
dependsOn(':openTCS-LaurusTCS-PlantOverview:installDist')
dependsOn(':openTCS-LaurusTCS-Documentation:installDist')
}
installDist.dependsOn subDists
distZip {
classifier = 'bin'
dependsOn subDists
}
distTar {
classifier = 'bin'
dependsOn subDists
compression = Compression.GZIP
}
task distSrcZip(type: Zip) {
classifier = 'src'
from "${rootDir}"
includes << 'config/**'
includes << 'gradle/**'
includes << 'lib/**'
includes << 'openTCS-*/**'
includes << 'src/**'
includes << '.nb-gradle-properties'
includes << '*.gradle'
includes << 'gradlew'
includes << 'gradlew.bat'
includes << 'README.md'
excludes << '.gradle'
excludes << '**/build'
}
artifacts {
archives distZip
archives distTar
archives distSrcZip
}
build {
dependsOn subprojects*.build
dependsOn installDist
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/CMengCoder/openTCS-Integration-LaurusTCS.git
git@gitee.com:CMengCoder/openTCS-Integration-LaurusTCS.git
CMengCoder
openTCS-Integration-LaurusTCS
openTCS-Integration-LaurusTCS
master

搜索帮助