支持发布
This commit is contained in:
parent
f44b206f4b
commit
9b9e75733f
|
|
@ -53,7 +53,9 @@ dependencies {
|
|||
jar {
|
||||
|
||||
// 排除掉模块调试的资源文件, 启动类.
|
||||
excludes = ['*.yml','logback.xml']
|
||||
excludes = ['*.yml','logback.xml',
|
||||
'com/ruoyi/*/RuoYi*Application*'
|
||||
]
|
||||
|
||||
manifest {
|
||||
attributes "releaseVersion": version + "-" + getGitVersion()
|
||||
|
|
|
|||
|
|
@ -14,14 +14,17 @@ buildscript {
|
|||
}
|
||||
|
||||
ext {
|
||||
devVersion = "dev-9-SNAPSHOT"
|
||||
devVersion = System.getProperty("devVersion") ? System.getProperty("devVersion")
|
||||
: "dev-9-SNAPSHOT"
|
||||
}
|
||||
|
||||
description = "ruoyi-api-system"
|
||||
apply from: "../build-config/build-all.gradle"
|
||||
apply from: "../build-config/build-base.gradle"
|
||||
apply from: "../build-config/build-boot-jar.gradle"
|
||||
|
||||
apply from: "../build-config/build-publish.gradle"
|
||||
if (!buildProduct) {
|
||||
apply from: "../build-config/build-boot-jar.gradle"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ buildscript {
|
|||
}
|
||||
|
||||
ext {
|
||||
devVersion = "dev-9-SNAPSHOT"
|
||||
devVersion = System.getProperty("devVersion") ? System.getProperty("devVersion")
|
||||
: "dev-9-SNAPSHOT"
|
||||
}
|
||||
|
||||
description = "ruoyi-modules-file"
|
||||
|
|
|
|||
|
|
@ -14,13 +14,15 @@ buildscript {
|
|||
}
|
||||
|
||||
ext {
|
||||
devVersion = "dev-9-SNAPSHOT"
|
||||
devVersion = System.getProperty("devVersion") ? System.getProperty("devVersion")
|
||||
: "dev-9-SNAPSHOT"
|
||||
}
|
||||
description = "ruoyi-modules-gen"
|
||||
apply from: "../../build-config/build-all.gradle"
|
||||
apply from: "../../build-config/build-base.gradle"
|
||||
apply from: "../../build-config/build-boot-jar.gradle"
|
||||
|
||||
if (!buildProduct) {
|
||||
apply from: "../../build-config/build-boot-jar.gradle"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue