Skip to content

Commit d9561de

Browse files
committed
neo4j adjusts
1 parent 705767c commit d9561de

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

generators/liquibase/generator.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,15 @@ export default class LiquibaseGenerator<
341341
},
342342
addDependencies({ application, source }) {
343343
if ((application as SpringDataRelationalApplication).backendTypeSpringBoot) {
344-
(source as SpringBootSource).addSpringBootModule?.('spring-boot-starter-liquibase');
344+
source.addJavaDependencies!([
345+
{
346+
groupId: 'org.springframework.boot',
347+
artifactId: 'spring-boot-starter-liquibase',
348+
exclusions: (application as SpringDataRelationalApplication).databaseTypeNeo4j
349+
? [{ groupId: 'org.springframework.boot', artifactId: 'spring-boot-starter-jdbc' }]
350+
: undefined,
351+
},
352+
]);
345353
}
346354
},
347355
customizeMaven({ source, application }) {

0 commit comments

Comments
 (0)