Skip to content

Commit

Permalink
fix shadow plugin working with java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
baev committed Jul 5, 2024
1 parent 3813f24 commit b46d508
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion allure-java-commons/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.github.johnrengelman.shadow")
id("io.github.goooler.shadow")
}

description = "Allure Java Commons"
Expand Down
2 changes: 1 addition & 1 deletion allure-test-filter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.github.johnrengelman.shadow")
id("io.github.goooler.shadow")
}

description = "Allure Test Filter"
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ configure(libs) {

tasks {
compileJava {
options.compilerArgs.add("-Xlint:-options")
if (JavaVersion.current().isJava8) {
java.targetCompatibility = JavaVersion.VERSION_1_8
} else {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pluginManagement {
}
plugins {
id("com.diffplug.spotless") version "6.25.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.github.goooler.shadow") version "8.1.8"
id("com.gradle.enterprise") version "3.17.5"
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("io.qameta.allure-adapter") version "2.11.2"
Expand Down

0 comments on commit b46d508

Please sign in to comment.