代码拉取完成,页面将自动刷新
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)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。