diff -r 9cf28ee2a8e9 -r 79794afbbf95 core/src/commonMain/kotlin/licensee/LicenseeParser.kt --- a/core/src/commonMain/kotlin/licensee/LicenseeParser.kt Sun May 04 21:05:24 2025 -0400 +++ b/core/src/commonMain/kotlin/licensee/LicenseeParser.kt Mon May 05 02:56:41 2025 -0400 @@ -26,11 +26,19 @@ import okio.Source import okio.buffer +/** + * Parse licences data generated by the [licensee](https://github.com/cashapp/licensee) gradle plugin. + */ class LicenseeParser( input: Source ): AutoCloseable { private val buffered = input.buffer() + /** + * Read licensee data + * + * @return a map of dependency name to license + */ fun readLicensee(): Map { val json = Json { ignoreUnknownKeys = true