23 changed files with 174 additions and 132 deletions
@ -1,3 +1,2 @@
@@ -1,3 +1,2 @@
|
||||
org.springframework.aot.hint.RuntimeHintsRegistrar=\ |
||||
org.springframework.boot.autoconfigure.freemarker.FreeMarkerTemplateAvailabilityProvider$FreeMarkerTemplateAvailabilityRuntimeHints,\ |
||||
org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAvailabilityProvider$GroovyTemplateAvailabilityRuntimeHints |
||||
org.springframework.boot.autoconfigure.freemarker.FreeMarkerTemplateAvailabilityProvider$FreeMarkerTemplateAvailabilityRuntimeHints |
||||
|
||||
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the License); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0 |
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
|
||||
plugins { |
||||
id "java-library" |
||||
id "org.springframework.boot.auto-configuration" |
||||
id "org.springframework.boot.configuration-properties" |
||||
id "org.springframework.boot.deployed" |
||||
id "org.springframework.boot.optional-dependencies" |
||||
} |
||||
|
||||
description = "Spring Boot Groovy Templates" |
||||
|
||||
dependencies { |
||||
api(project(":spring-boot-project:spring-boot")) |
||||
api("org.apache.groovy:groovy-templates") |
||||
|
||||
optional(project(":spring-boot-project:spring-boot-autoconfigure")) |
||||
optional("org.springframework:spring-webmvc") |
||||
optional("jakarta.servlet:jakarta.servlet-api") |
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test")) |
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic") |
||||
} |
||||
7
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAutoConfiguration.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAutoConfiguration.java
7
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAutoConfiguration.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAutoConfiguration.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAvailabilityProvider.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAvailabilityProvider.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAvailabilityProvider.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAvailabilityProvider.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateProperties.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateProperties.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateProperties.java → spring-boot-project/spring-boot-groovy-templates/src/main/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateProperties.java
@ -0,0 +1,108 @@
@@ -0,0 +1,108 @@
|
||||
{ |
||||
"properties": [ |
||||
{ |
||||
"name": "spring.groovy.template.configuration.auto-escape", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.auto-escape", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.auto-indent", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.auto-indent", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.auto-indent-string", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.auto-indent-string", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.auto-new-line", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.auto-new-line", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.base-template-class", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.base-template-class", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.cache-templates", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.cache", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.declaration-encoding", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.declaration-encoding", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.expand-empty-elements", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.expand-empty-elements", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.locale", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.locale", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.new-line-string", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.new-line-string", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.resource-loader-path", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.resource-loader-path", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.configuration.use-double-quotes", |
||||
"deprecation": { |
||||
"replacement": "spring.groovy.template.use-double-quotes", |
||||
"level": "warning", |
||||
"since": "3.5.0" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.prefix", |
||||
"defaultValue": "" |
||||
}, |
||||
{ |
||||
"name": "spring.groovy.template.suffix", |
||||
"defaultValue": ".tpl" |
||||
} |
||||
] |
||||
} |
||||
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
# Template Availability Providers |
||||
org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider=\ |
||||
org.springframework.boot.groovy.template.autoconfigure.GroovyTemplateAvailabilityProvider |
||||
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
org.springframework.aot.hint.RuntimeHintsRegistrar=\ |
||||
org.springframework.boot.groovy.template.autoconfigure.GroovyTemplateAvailabilityProvider$GroovyTemplateAvailabilityRuntimeHints |
||||
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
org.springframework.boot.groovy.template.autoconfigure.GroovyTemplateAutoConfiguration |
||||
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAutoConfigurationTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAutoConfigurationTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAutoConfigurationTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAutoConfigurationTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAvailabilityProviderTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAvailabilityProviderTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAvailabilityProviderTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplateAvailabilityProviderTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplatePropertiesTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplatePropertiesTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplatePropertiesTests.java → spring-boot-project/spring-boot-groovy-templates/src/test/java/org/springframework/boot/groovy/template/autoconfigure/GroovyTemplatePropertiesTests.java
Loading…
Reference in new issue