This is an automated email from the ASF dual-hosted git repository.
chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 2b1bd69fb Support build of gradle 8
new ca444b6aa Merge pull request #3501 from Shoothzj/gradle-8-0-2
2b1bd69fb is described below
commit 2b1bd69fb8a03fdbf3b305427732594077a4e7d0
Author: ZhangJian He <[email protected]>
AuthorDate: Wed Mar 22 13:52:47 2023 +0800
Support build of gradle 8
---
build.gradle | 18 +++++++++---------
gradle/wrapper/gradle-wrapper.properties | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/build.gradle b/build.gradle
index 498d21e5a..c31ce1fb9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -31,7 +31,7 @@ buildscript {
}
dependencies {
- classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3"
+ classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14"
classpath
"io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE"
classpath "com.github.jk1:gradle-license-report:1.17"
}
@@ -193,9 +193,9 @@ subprojects {
jacocoTestReport {
reports {
- xml.enabled true
- csv.enabled false
- html.enabled false
+ xml.required = true
+ csv.required = false
+ html.required = false
}
}
@@ -215,10 +215,10 @@ subprojects {
spotbugsMain {
reports {
- xml.enabled = false
+ xml.required = false
html {
- enabled = true
- destination =
file("$buildDir/reports/spotbugs/main/spotbugs.html")
+ required = true
+ outputLocation =
file("$buildDir/reports/spotbugs/main/spotbugs.html")
stylesheet = 'fancy-hist.xsl'
}
}
@@ -337,12 +337,12 @@ subprojects {
task packageJavadoc(type: Jar, dependsOn: ['javadoc']) {
from project.javadoc.destinationDir
- classifier = 'javadoc'
+ archiveClassifier.set('javadoc')
}
task packageSources(type: Jar) {
from project.sourceSets.main.allSource
- classifier = 'sources' // either here or in artifacts block
+ archiveClassifier.set('sources')
}
artifacts {
diff --git a/gradle/wrapper/gradle-wrapper.properties
b/gradle/wrapper/gradle-wrapper.properties
index a44b7ed77..7e9c8c73d 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -17,6 +17,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]