Skip to content

Commit

Permalink
use liquibase version from micronaut-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed May 14, 2024
1 parent a3794f6 commit bc9c0e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions generators/micronaut/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ export default class extends BaseApplicationGenerator {
const pomFile = this.readTemplate(this.templatePath('../resources/micronaut-platform.pom')).toString();
const pom = parseMavenPom(pomFile);
Object.assign(application.javaManagedProperties, pom.project.properties);
// Liquibase generator uses this property, otherwise it will be used from gradle's dependenciesManagement plugin.
application.javaDependencies.liquibase = application.javaManagedProperties['liquibase.version'];
},
});
}
Expand Down
2 changes: 0 additions & 2 deletions generators/micronaut/resources/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jaxb-runtime = { module = 'org.glassfish.jaxb:jaxb-runtime', version = '4.0.5' }

h2 = { module = 'com.h2database:h2', version = '2.2.224' }

liquibase = { module = 'org.liquibase:liquibase-core', version = '4.27.0' }

logstash-logback-encoder = { module = 'net.logstash.logback:logstash-logback-encoder', version = '7.4' }

micronaut-platform = { module = 'io.micronaut.platform:micronaut-platform', version = '4.4.2' }
Expand Down

0 comments on commit bc9c0e7

Please sign in to comment.