extractProperties

fun extractProperties(repo: Map<*, *>, key: String): Properties

Extracts properties from a map and converts them to a Properties object.

Return

The Properties object containing the extracted properties.

Parameters

repo

The map containing the properties.

key

The key whose value is a map of properties.

Throws

if the key is not set in the map.