Skip to content

Commit

Permalink
Fix Gradle Deprecation Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Jan 5, 2025
1 parent 2f46ccf commit f69ee76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ allprojects {
tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
exceptionFormat "full"
showExceptions true
showCauses true
showStackTraces true
showStandardStreams System.getenv("CI") == "true"
exceptionFormat = "full"
showExceptions = true
showCauses = true
showStackTraces = true
showStandardStreams = System.getenv("CI") == "true"
}
}

Expand Down
19 changes: 4 additions & 15 deletions sass-embedded-host/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id "java-library"
id "io.freefair.maven-publish-java"
id "io.freefair.lombok"
id "io.freefair.maven-optional"
id "jacoco"
}

Expand All @@ -11,18 +12,6 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(11)

compileJava.options.release.set(8)

java {
registerFeature('webjarsSupport') {
usingSourceSet(sourceSets.main)
}
registerFeature('springSupport') {
usingSourceSet(sourceSets.main)
}
registerFeature('springWebmvcSupport') {
usingSourceSet(sourceSets.main)
}
}

dependencies {
api project(":sass-embedded-protocol")
api project(":sass-embedded-bundled")
Expand All @@ -34,11 +23,11 @@ dependencies {
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
compileOnly 'org.apache.logging.log4j:log4j-api:2.24.3'
webjarsSupportImplementation "org.webjars:webjars-locator-core:0.59"
optional "org.webjars:webjars-locator-core:0.59"
compileOnly "org.jboss:jboss-vfs:3.3.2.Final"

springSupportApi "org.springframework:spring-core:$spring5Verison"
springWebmvcSupportApi "org.springframework:spring-webmvc:$spring5Verison"
optional "org.springframework:spring-core:$spring5Verison"
optional "org.springframework:spring-webmvc:$spring5Verison"

testCompileOnly 'org.jetbrains:annotations:26.0.1'

Expand Down

0 comments on commit f69ee76

Please sign in to comment.