Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add missing cache dependency
  • Loading branch information
atomfrede committed Jun 27, 2020
1 parent 7e664fc commit 130c814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions generators/server/templates/build.gradle.ejs
Expand Up @@ -325,6 +325,7 @@ dependencies {
<%_ } _%>
<%_ if (['ehcache', 'caffeine', 'hazelcast', 'infinispan', 'redis'].includes(cacheProvider) || applicationType === 'gateway') { _%>
implementation "javax.cache:cache-api"
implementation "io.micronaut.cache:micronaut-cache-core:$micronaut_version"
<%_ } _%>
<%_ if (databaseType === 'sql') { _%>
implementation "org.hibernate:hibernate-core"
Expand Down
4 changes: 4 additions & 0 deletions generators/server/templates/pom.xml.ejs
Expand Up @@ -209,6 +209,10 @@ _%>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
</dependency>
<dependency>
<groupId>io.micronaut.cache</groupId>
<artifactId>micronaut-cache-core</artifactId>
</dependency>
<%_ } _%>
<%_
if (devDatabaseType === 'mysql' || prodDatabaseType === 'mysql') { _%>
Expand Down

0 comments on commit 130c814

Please sign in to comment.