From 616439d3bdd2d96c0a9976b14b2484aff2f00128 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 19 Sep 2023 13:18:06 +0100 Subject: [PATCH] Fix gradle build --- build.gradle | 6 +++++- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d0a34bf..33a052c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.0.4' + id 'org.springframework.boot' version '3.1.3' id 'io.spring.dependency-management' version '1.1.0' id 'org.graalvm.buildtools.native' version '0.9.20' } @@ -17,6 +17,8 @@ repositories { ext.webjarsFontawesomeVersion = "4.7.0" ext.webjarsBootstrapVersion = "5.2.3" +ext.htmxSpringBootThymeleafVersion = "3.0.0" +ext.htmxOrgVersion = "1.9.5" dependencies { implementation 'org.springframework.boot:spring-boot-starter-cache' @@ -26,9 +28,11 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'javax.cache:cache-api' implementation 'jakarta.xml.bind:jakarta.xml.bind-api' + implementation "io.github.wimdeblauwe:htmx-spring-boot-thymeleaf:${htmxSpringBootThymeleafVersion}" runtimeOnly 'org.springframework.boot:spring-boot-starter-actuator' runtimeOnly "org.webjars.npm:bootstrap:${webjarsBootstrapVersion}" runtimeOnly "org.webjars.npm:font-awesome:${webjarsFontawesomeVersion}" + runtimeOnly "org.webjars.npm:htmx.org:${htmxOrgVersion}" runtimeOnly 'com.github.ben-manes.caffeine:caffeine' runtimeOnly 'com.h2database:h2' runtimeOnly 'com.mysql:mysql-connector-j' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 774fae8..84a0b92 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists