File tree Expand file tree Collapse file tree 4 files changed +9
-24
lines changed
buildSrc/src/main/groovy/io/spring/gradle/convention Expand file tree Collapse file tree 4 files changed +9
-24
lines changed Original file line number Diff line number Diff line change 5353 name : test-results
5454 path : ' */build/reports/tests/**/*.*'
5555 retention-days : 3
56- - name : Create Aggregated Jacoco Report
57- run : |
58- ./gradlew aggregateJacocoTestReport --info
59- - name : Verify Code Coverage
60- run : |
61- ./gradlew jacocoTestCoverageVerification --info
62- - name : Upload Aggregated Jacoco Report
63- if : failure() || contains(github.event.pull_request.labels.*.name, 'ci/upload-jacoco')
64- uses : actions/upload-artifact@v4
65- with :
66- name : jacoco-results
67- path : ' build/reports/jacoco/**/*.*'
68- retention-days : 3
6956 integration_tests :
7057 needs : [prerequisites, build_and_verify]
7158 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ plugins {
1010
1111description = ' Spring for Apache Pulsar'
1212
13- apply from : ' gradle/jacoco-conventions.gradle'
14- apply from : ' gradle/aggregate-jacoco-report.gradle'
1513apply from : ' gradle/version-catalog-update.gradle'
1614apply from : ' gradle/java-conventions.gradle'
1715apply from : ' gradle/nullability-conventions.gradle'
Original file line number Diff line number Diff line change @@ -26,22 +26,22 @@ class ArtifactoryPlugin implements Plugin<Project> {
2626@Override
2727void apply (Project project ) {
2828project. plugins. apply(' com.jfrog.artifactory' )
29- boolean isSnapshot = ProjectUtils . isSnapshot(project);
30- boolean isMilestone = ProjectUtils . isMilestone(project);
29+ boolean isSnapshot = ProjectUtils . isSnapshot(project)
30+ boolean isMilestone = ProjectUtils . isMilestone(project)
31+ def repoKey = isSnapshot ? ' libs-snapshot-local' :
32+ (isMilestone ? ' libs-milestone-local' : ' libs-release-local' )
3133project. artifactory {
3234contextUrl = ' https://repo.spring.io'
3335publish {
3436repository {
35- repoKey = isSnapshot ? ' libs-snapshot-local' :
36- (isMilestone ? ' libs-milestone-local' : ' libs-release-local' )
37- if (project. hasProperty(' artifactoryUsername' )) {
38- username = artifactoryUsername
39- password = artifactoryPassword
37+ repoKey = " ${ repoKey} "
38+ if (project. hasProperty(' artifactoryUsername' )) {
39+ username = " ${ project.artifactoryUsername} "
40+ password = " ${ project.artifactoryPassword} "
4041}
4142}
4243}
4344}
44-
4545project. plugins. withType(MavenPublishPlugin ) {
4646project. artifactory {
4747publish {
Original file line number Diff line number Diff line change 22asciidoc-gradle = " 3.3.2"
33commons-codec = " 1.18.0"
44commons-compress = " 1.26.2"
5- groovy = " 2.5.17 "
5+ groovy = " 4.0.27 "
66jackson = " 2.19.1"
77javaformat = " 0.0.47"
88jfrog = " 6.0.1"
You can’t perform that action at this time.
0 commit comments