Used lazy value of base class not to load properties from manifest twice (#4487)
This commit is contained in:
committed by
Stanislav Erokhin
parent
c28fd8e980
commit
26ccdbdc18
+1
-3
@@ -42,9 +42,7 @@ open class TargetedLibraryImpl(
|
||||
}
|
||||
|
||||
override val manifestProperties: Properties by lazy {
|
||||
val properties = access.inPlace {
|
||||
it.manifestFile.loadProperties()
|
||||
}
|
||||
val properties = base.manifestProperties
|
||||
target?.let { substitute(properties, defaultTargetSubstitutions(it)) }
|
||||
properties
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user