mirror of https://github.com/sbt/sbt.git
substitute variables in explicit version strings
This commit is contained in:
parent
8b06887753
commit
651d858676
|
|
@ -94,7 +94,7 @@ class ConfigurationParser
|
|||
{
|
||||
if(isEmpty(value)) error(label + " cannot be empty (omit declaration to use the default)")
|
||||
try { parsePropertyValue(label, value)(Value.readImplied[T]) }
|
||||
catch { case e: BootException => new Explicit(read(value)) }
|
||||
catch { case e: BootException => new Explicit(read(substituteVariables(value))) }
|
||||
}
|
||||
def processSection[T](sections: SectionMap, name: String, f: LabelMap => T) =
|
||||
process[String,LabelMap,T](sections, name, m => f(m default(x => None)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue