File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
build/export_generators/ide-gradle Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ plugins {
44
44
{% - endif %}
45
45
}
46
46
{# language level #}
47
- {% - if target .required_jdk != "" %}
47
+ {% - if target .required_jdk is defined and target . required_jdk |length %}
48
48
java {
49
49
toolchain {
50
50
languageVersion = JavaLanguageVersion.of("{{ target.required_jdk }}")
@@ -55,6 +55,11 @@ java {
55
55
56
56
allOpen {
57
57
annotation("org.springframework.stereotype.Component")
58
+ annotation("org.springframework.transaction.annotation.Transactional")
59
+ annotation("org.springframework.scheduling.annotation.Async")
60
+ annotation("org.springframework.cache.annotation.Cacheable")
61
+ annotation("org.springframework.boot.test.context.SpringBootTest")
62
+ annotation("org.springframework.validation.annotation.Validated")
58
63
}
59
64
{% endif -%}
60
65
{% - if with_kotlin %}
You can’t perform that action at this time.
0 commit comments