Skip to content

Commit

Permalink
Generate Spring Boot configuration metadata file
Browse files Browse the repository at this point in the history
Closes gh-16

See gh-14
  • Loading branch information
rainboyan committed Oct 27, 2024
1 parent aecaec5 commit 4ab35f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ dependencies {
api "org.graceframework:grace-core:$graceVersion"
api "org.graceframework:grace-web-gsp:$graceVersion"
api 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2'
implementation("org.springframework.boot:spring-boot-autoconfigure:$springBootVersion")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:$springBootVersion")
api "org.springframework.boot:spring-boot-autoconfigure:$springBootVersion"
annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor:$springBootVersion"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
compileOnly "org.graceframework:grace-boot:$graceVersion"
documentation "org.fusesource.jansi:jansi:$jansiVersion"
documentation "com.github.javaparser:javaparser-core:$javaParserCoreVersion"
Expand Down
10 changes: 5 additions & 5 deletions src/main/groovy/grails/plugin/cache/CacheProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,31 @@ public class CacheProperties {
private Map<String, CacheConfig> caches = new HashMap<>();

public Boolean getEnabled() {
return enabled;
return this.enabled;
}

public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}

public Boolean getClearAtStartup() {
return clearAtStartup;
return this.clearAtStartup;
}

public void setClearAtStartup(Boolean clearAtStartup) {
this.clearAtStartup = clearAtStartup;
}

public String getCacheManager() {
return cacheManager;
return this.cacheManager;
}

public void setCacheManager(String cacheManager) {
this.cacheManager = cacheManager;
}

public Map<String, CacheConfig> getCaches() {
return caches;
return this.caches;
}

public void setCaches(Map<String, CacheConfig> caches) {
Expand All @@ -76,7 +76,7 @@ public static class CacheConfig {
private Integer maxCapacity;

public Integer getMaxCapacity() {
return maxCapacity;
return this.maxCapacity;
}

public void setMaxCapacity(Integer maxCapacity) {
Expand Down

0 comments on commit 4ab35f8

Please sign in to comment.