Skip to content

Commit

Permalink
build: parameterises datafaker version.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Aug 19, 2024
1 parent 17a1c26 commit 2604b2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/fake-data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'

ext {
version_datafaker = '1.9.0'

// same as swagger-core version
version_swagger_models = '2.2.22'
}
Expand All @@ -17,7 +19,7 @@ dependencies {
implementation project(':mock:mock-openapi')
implementation ("io.swagger.core.v3:swagger-models:$version_swagger_models")

pluginImplementation('net.datafaker:datafaker:1.9.0') {
pluginImplementation("net.datafaker:datafaker:$version_datafaker") {
exclude module: 'snakeyaml'
}

Expand Down

0 comments on commit 2604b2e

Please sign in to comment.