Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sbt): Support private variable version resolving (#6565)
- Loading branch information
Showing
4 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
lib/manager/sbt/__fixtures__/private-variable-dependency-file.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
val moreSettings = Seq( | ||
scalaVersion := "2.13.0-RC5" | ||
) | ||
|
||
private val abcVersion = "1.2.3" | ||
|
||
private lazy val ujson = "com.example" %% "foo" % "0.7.1" | ||
|
||
lazy val abc = "com.abc" % "abc" % abcVersion | ||
|
||
lazy val dependentLibraries = Seq(ujson, abc) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters