Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade frontend-jdk17:8.0.1 to frontend-jdk21:9.0.0 #5626

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins {
id "com.github.ben-manes.versions" version "0.51.0"

// front
id 'org.siouan.frontend-jdk17' version '8.1.0' apply false
id 'org.siouan.frontend-jdk21' version '9.0.0' apply false

// release
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
Expand Down
8 changes: 4 additions & 4 deletions ui/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpm
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmTaskType

plugins {
id 'org.siouan.frontend-jdk17'
id 'org.siouan.frontend-jdk21'
}

publishSonatypePublicationPublicationToSonatypeRepository.enabled = false
Expand All @@ -28,12 +28,12 @@ tasks.named('assembleFrontend') {
outputs.dir('../webserver/src/main/resources/ui')
}

final linterTask = tasks.register('lintFrontend', RunNpm) {
final linterTask = tasks.register('lintFrontend', RunNpmTaskType) {
dependsOn tasks.named('installFrontend')
group 'Frontend'
description 'Lints the frontend source code.'

script = 'run test:lint'
args = 'run test:lint'
}

check.dependsOn linterTask