From bbd08aed57489a00836c37e28c8ec0d4bee4a4df Mon Sep 17 00:00:00 2001 From: tschuehly Date: Mon, 30 Sep 2024 11:22:12 +0200 Subject: [PATCH] Update property names to use kebab-case format and update Spring Boot version Standardize configuration property names in spring-configuration-metadata.json by converting them from camelCase to kebab-case. This change promotes consistency and aligns with common configuration conventions. --- jte-spring-boot-starter-2/pom.xml | 2 +- .../META-INF/spring-configuration-metadata.json | 10 +++++----- jte-spring-boot-starter-3/pom.xml | 2 +- .../META-INF/spring-configuration-metadata.json | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/jte-spring-boot-starter-2/pom.xml b/jte-spring-boot-starter-2/pom.xml index 5fb53b4c..3875c70d 100644 --- a/jte-spring-boot-starter-2/pom.xml +++ b/jte-spring-boot-starter-2/pom.xml @@ -16,7 +16,7 @@ jte-spring-boot-starter-2 - 2.7.8 + 2.7.18 diff --git a/jte-spring-boot-starter-2/src/main/resources/META-INF/spring-configuration-metadata.json b/jte-spring-boot-starter-2/src/main/resources/META-INF/spring-configuration-metadata.json index ade0e3ac..74a6702d 100644 --- a/jte-spring-boot-starter-2/src/main/resources/META-INF/spring-configuration-metadata.json +++ b/jte-spring-boot-starter-2/src/main/resources/META-INF/spring-configuration-metadata.json @@ -8,25 +8,25 @@ ], "properties": [ { - "name": "gg.jte.usePrecompiledTemplates", + "name": "gg.jte.use-precompiled-templates", "type": "java.lang.Boolean", "description": "You can precompile the templates for faster startup and rendering. To use this you need to include the Maven or Gradle Plugin: https://jte.gg/pre-compiling/", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.developmentMode", + "name": "gg.jte.development-mode", "type": "java.lang.Boolean", - "description": "You can enable developmentMode so that the jte file watcher will watch for changes in templates and recompile them.", + "description": "You can enable development mode so that the jte file watcher will watch for changes in templates and recompile them.", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.templateLocation", + "name": "gg.jte.template-location", "type": "java.lang.String", "description": "You can change the location where jte expects the templates to compile", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.templateSuffix", + "name": "gg.jte.template-suffix", "type": "java.lang.String", "description": "You can configure the file suffix of jte templates the compiler resolves", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" diff --git a/jte-spring-boot-starter-3/pom.xml b/jte-spring-boot-starter-3/pom.xml index 04da0986..5bb85d5f 100644 --- a/jte-spring-boot-starter-3/pom.xml +++ b/jte-spring-boot-starter-3/pom.xml @@ -16,7 +16,7 @@ jte-spring-boot-starter-3 - 3.0.2 + 3.3.4 diff --git a/jte-spring-boot-starter-3/src/main/resources/META-INF/spring-configuration-metadata.json b/jte-spring-boot-starter-3/src/main/resources/META-INF/spring-configuration-metadata.json index ade0e3ac..74a6702d 100644 --- a/jte-spring-boot-starter-3/src/main/resources/META-INF/spring-configuration-metadata.json +++ b/jte-spring-boot-starter-3/src/main/resources/META-INF/spring-configuration-metadata.json @@ -8,25 +8,25 @@ ], "properties": [ { - "name": "gg.jte.usePrecompiledTemplates", + "name": "gg.jte.use-precompiled-templates", "type": "java.lang.Boolean", "description": "You can precompile the templates for faster startup and rendering. To use this you need to include the Maven or Gradle Plugin: https://jte.gg/pre-compiling/", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.developmentMode", + "name": "gg.jte.development-mode", "type": "java.lang.Boolean", - "description": "You can enable developmentMode so that the jte file watcher will watch for changes in templates and recompile them.", + "description": "You can enable development mode so that the jte file watcher will watch for changes in templates and recompile them.", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.templateLocation", + "name": "gg.jte.template-location", "type": "java.lang.String", "description": "You can change the location where jte expects the templates to compile", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties" }, { - "name": "gg.jte.templateSuffix", + "name": "gg.jte.template-suffix", "type": "java.lang.String", "description": "You can configure the file suffix of jte templates the compiler resolves", "sourceType": "gg.jte.springframework.boot.autoconfigure.JteProperties"