mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 11:17:40 +08:00
PL-9800 Use Gradle 4.2
This commit is contained in:
parent
b7950c6744
commit
2161381eeb
@ -293,8 +293,8 @@ configure(globalModule) {
|
||||
}
|
||||
|
||||
task generateReleaseTimestamp(type: CubaReleaseTimeStamp) {
|
||||
releaseTimeStampPath = "$buildDir/classes/main/com/haulmont/cuba/core/global/release.timestamp"
|
||||
releaseNumberPath = "$buildDir/classes/main/com/haulmont/cuba/core/global/release.number"
|
||||
releaseTimeStampPath = "${sourceSets.main.java.outputDir}/com/haulmont/cuba/core/global/release.timestamp"
|
||||
releaseNumberPath = "${sourceSets.main.java.outputDir}/com/haulmont/cuba/core/global/release.number"
|
||||
}
|
||||
|
||||
task enhance(type: CubaEnhancing)
|
||||
@ -332,7 +332,8 @@ configure(globalModule) {
|
||||
sourceJar {
|
||||
exclude '**/entity/dummy/*'
|
||||
exclude {
|
||||
(it.file.name == 'base-persistence.xml' || it.file.name == 'cuba-persistence.xml') && sourceSets.main.java.srcDirs.contains(it.file.parentFile)
|
||||
(it.file.name == 'base-persistence.xml' || it.file.name == 'cuba-persistence.xml') &&
|
||||
sourceSets.main.java.srcDirs.contains(it.file.parentFile)
|
||||
}
|
||||
from "$buildDir/tmp/filtered"
|
||||
}
|
||||
|
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,5 @@
|
||||
#Fri Dec 09 12:01:27 SAMT 2016
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip
|
Loading…
Reference in New Issue
Block a user