Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 823e525

Browse files
committed
Extract all build code into an own sub-project
1 parent 1cfad1f commit 823e525

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.sbt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ version := s"$majorVersion.$minorVersion"
1313
// ---------------------------------------------------------------------------------------------------------------------
1414
// ---------------------------------------------------------------------------------------------------------------------
1515

16-
17-
apiVersionGenerator := APIUtility(streams.value.log)
16+
apiVersionGenerator := new APIUtility(streams.value.log)
1817
.generateAPIVersionFile(sourceDirectory.value, majorVersion, minorVersion)
1918

20-
requirementsGenerator := APIUtility(streams.value.log).generatedRequirements(sourceDirectory.value)
19+
requirementsGenerator := new APIUtility(streams.value.log).generatedRequirements(sourceDirectory.value)
2120

2221

2322
// Update the compile process to generate the api version java class
2423
compile in Compile := {
2524
apiVersionGenerator.value
26-
(compile in Compile).value
2725
requirementsGenerator.value
2826
(compile in Compile).value
2927
}

0 commit comments

Comments
 (0)