Skip to content

Commit

Permalink
inject couchmove version
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Oct 26, 2024
1 parent e18a3bc commit 7a75235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/spring-data-couchbase/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ export default class CouchbaseGenerator extends BaseApplicationGenerator {
});
},
addDependencies({ application, source }) {
const { reactive } = application;
const { reactive, javaDependencies } = application;
source.addJavaDependencies?.([
{ groupId: 'commons-codec', artifactId: 'commons-codec' },
{ groupId: 'com.couchbase.client', artifactId: 'java-client' },
{ groupId: 'com.github.differentway', artifactId: 'couchmove' },
{ groupId: 'com.github.differentway', artifactId: 'couchmove', version: javaDependencies!.couchmove },
{ groupId: 'org.springframework.boot', artifactId: `spring-boot-starter-data-couchbase${reactive ? '-reactive' : ''}` },
{ scope: 'test', groupId: 'org.testcontainers', artifactId: 'junit-jupiter' },
{ scope: 'test', groupId: 'org.testcontainers', artifactId: 'testcontainers' },
Expand Down

0 comments on commit 7a75235

Please sign in to comment.