2 Star 2 Fork 3

bdware/distribute-runtime-bundle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 3.78 KB
一键复制 编辑 原始数据 按行查看 历史
蔡华谦 提交于 2024-12-24 12:58 . update docker
buildscript {
dependencies {
classpath "com.diffplug.spotless:spotless-plugin-gradle:4.5.1"
}
}
plugins {
id 'java'
id 'idea'
}
def currVersion = "2.1.9"
def bdclusterVersion = "1.8.6"
ext.projectIds = ['group': 'org.bdware.sc', 'version': currVersion]
sourceCompatibility = 1.8
project(':genparser') {
group = projectIds.group
version = projectIds.version
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
}
}
project(':custom-plugin') {
group = projectIds.group
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://logicaldoc.sourceforge.net/maven/' }
}
}
project(':consistency-sdk') {
group = projectIds.group
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://logicaldoc.sourceforge.net/maven/' }
}
}
project(':common') {
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
}
}
project(':cm') {
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://logicaldoc.sourceforge.net/maven/' }
}
}
project(':front-base') {
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
}
}
project(':agent-backend') {
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://logicaldoc.sourceforge.net/maven/' }
}
}
project(':router-backend') {
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
}
}
project(":gmhelper") {
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }
}
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:none'
options.compilerArgs << '-Xlint:deprecation' << "-Werror"
}
repositories {
mavenCentral()
}
task buildDocOnly(type: Exec) {
commandLine "sh", "script/prepareDoc.sh"
}
task copyDocs(dependsOn: [":buildDocOnly", ":web-client:buildZip", ":java-client:buildConfigTool"]) {
doLast {
println "copyDocs successfully"
}
}
task releaseForBaaS(dependsOn: [":cp:buildBundle", ":front-agent:buildBDServerZipMin",
":front-cluster:buildBDServerClusterZip",
":contract-template:buildContractTemplateZip"]) {
doLast {
println "release for baas as ./contract-template/build/bdtemplate.zip\n" +
"\t./front-agent/build/bdserver-min.zip\n" +
"\t./front-cluster/build/bdserver-cluster.zip"
}
}
task copyHooks(type: Copy) {
println 'copy hooks into .git'
['.git/modules/agent-backend/hooks',
'.git/modules/cm/hooks',
'.git/modules/common/hooks',
'.git/modules/consistency-sdk/hooks',
'.git/modules/custom-plugin/hooks',
'.git/modules/front-base/hooks',
'.git/modules/genparser/hooks',
'.git/modules/gmhelper/hooks',
'.git/modules/mockjava/hooks',
'.git/modules/router-backend/hooks'].each { output ->
copy {
from 'dev-plugin/pre-commit'
into output
}
}
}
tasks.init.dependsOn(copyHooks)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/BDWare/bdcontract-bundle.git
[email protected]:BDWare/bdcontract-bundle.git
BDWare
bdcontract-bundle
distribute-runtime-bundle
master

搜索帮助