Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
Use generated Settings for version in test (closes snowplow/snowplow#…
Browse files Browse the repository at this point in the history
  • Loading branch information
knservis authored and oguzhanunlu committed May 28, 2020
1 parent e6330f4 commit a91883b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ object BuildSettings {
| val organization = "%s"
| val version = "%s"
| val name = "%s"
| val commonEnrichVersion = "%s"
|}
|""".stripMargin.format(organization.value, version.value, name.value))
|""".stripMargin.format(organization.value, version.value, name.value, Dependencies.V.snowplowCommonEnrich))
Seq(file)
}.taskValue
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object SpecHelpers {
/**
* The Stream Enrich being used
*/
val EnrichVersion = "kinesis-0.14.0-common-0.31.0"
val EnrichVersion = s"kinesis-${generated.Settings.version}-common-${generated.Settings.commonEnrichVersion}"

val TimestampRegex = "[0-9\\s-:.]+"

Expand Down

0 comments on commit a91883b

Please sign in to comment.