4 Star 4 Fork 1

iteach/成都防汛融合通信

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
郭玉忠 提交于 2022-11-29 10:40 . 融合通信代码提交
plugins {
id 'org.springframework.boot' version '2.4.1'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
group = 'com.zzzn'
version = ''
sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
}
apply plugin: 'distribution'
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation 'com.alibaba.fastjson2:fastjson2:2.0.12'
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version: '3.0.2'
}
task copyPackage(type: Copy) {
from('build/libs/')
into('build/package')
}
task copyConfig(type: Copy) {
from('config/logback-spring.xml')
into('build/package/config')
}
task copyYml(type: Copy) {
from('src/main/resources/application.yml')
into('build/package/config')
}
task copySh(type: Copy) {
from('start.sh', 'stop.sh')
into('build/package')
}
task copyReadMe(type: Copy) {
from('README.md')
into('build/package')
}
//把上述的task串联起来
task prepareFile(dependsOn: [
'copyPackage',
'copyConfig',
'copyYml',
'copySh',
'copyReadMe'
]) {}
distributions {
monitor {
archivesBaseName = 'rhtx'
contents {
from { 'build/package' }
}
}
}
monitorDistTar.dependsOn 'prepareFile'
monitorDistTar.compression = Compression.GZIP
monitorDistTar.extension = 'tar'
task buildTarget(dependsOn: [
monitorDistTar
]) {}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iteach/chengdu-rhtx.git
git@gitee.com:iteach/chengdu-rhtx.git
iteach
chengdu-rhtx
成都防汛融合通信
master

搜索帮助