Skip to content

Commit

Permalink
adjusts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed May 14, 2024
1 parent 89acb31 commit e805712
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions generators/micronaut/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,15 @@ export default class extends BaseApplicationGenerator {
addMicronautDependencies({ application, source }) {
const { javaDependencies } = application;
source.addJavaDefinition({
versions: [
{ name: 'logstash-logback-encoder', version: javaDependencies['logstash-logback-encoder'] },
{ name: 'jhipster-framework', version: application.jhipsterDependenciesVersion },
{ name: 'commons-lang3', version: javaDependencies['commons-lang3'] },
{ name: 'swagger-annotations', version: javaDependencies['swagger-annotations'] },
],
dependencies: [
{ groupId: 'net.logstash.logback', artifactId: 'logstash-logback-encoder', versionRef: 'logstash-logback-encoder' },
{ groupId: 'tech.jhipster', artifactId: 'jhipster-framework', versionRef: 'jhipster-framework' },
{ groupId: 'org.apache.commons', artifactId: 'commons-lang3', versionRef: 'commons-lang3' },
{ groupId: 'io.swagger.core.v3', artifactId: 'swagger-annotations', versionRef: 'swagger-annotations' },
{
groupId: 'net.logstash.logback',
artifactId: 'logstash-logback-encoder',
version: javaDependencies['logstash-logback-encoder'],
},
{ groupId: 'tech.jhipster', artifactId: 'jhipster-framework', version: application.jhipsterDependenciesVersion },
{ groupId: 'org.apache.commons', artifactId: 'commons-lang3', version: javaDependencies['commons-lang3'] },
{ groupId: 'io.swagger.core.v3', artifactId: 'swagger-annotations', version: javaDependencies['swagger-annotations'] },
{ groupId: 'org.mockito', artifactId: 'mockito-core', version: javaDependencies['mockito-core'], scope: 'test' },
],
});
Expand Down

0 comments on commit e805712

Please sign in to comment.