Skip to content

Commit

Permalink
Run gradle builds with newer JVM, so sonar works
Browse files Browse the repository at this point in the history
  • Loading branch information
vierbergenlars committed Dec 13, 2024
1 parent 5ea7b87 commit a630318
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: temurin
- name: Test
run: ./gradlew test
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: temurin
- name: Test
run: ./gradlew :integration-tests:alfresco-${{ matrix.flavour }}-${{ matrix.version }}:integrationTest -Prandom_ports=true
Expand All @@ -63,7 +63,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: temurin
- name: Publish
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
}

java {
jar.archiveBaseName = "alfresco-health-processor-platform_alfresco7"
withJavadocJar()
withSourcesJar()

Expand All @@ -14,6 +13,10 @@ java {
}
}

jar {
archiveBaseName = "alfresco-health-processor-platform_alfresco7"
}

dependencies {
alfrescoProvided(project(":alfresco-health-processor-platform"))

Expand Down
7 changes: 4 additions & 3 deletions alfresco-health-processor-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ configurations {
}

java {
jar {
enabled = false
}
withJavadocJar()
withSourcesJar()
}

jar {
enabled = false
}

dependencies {
internalPlatform platform("eu.xenit.alfresco:alfresco-community-bom:${alfrescoVersion}")

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ext {
alfrescoVersion = '5.2.f'
alfredTelemetryVersion = '0.6.0'
micrometerVersion = '1.0.6'
lombokVersion = '1.18.10'
lombokVersion = '1.18.36'
}

subprojects {
Expand Down

0 comments on commit a630318

Please sign in to comment.