diff --git a/plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt b/plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt index 8c81048611543..1e80884e90341 100644 --- a/plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt +++ b/plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt @@ -97,7 +97,7 @@ private fun Map>.toComponents( val licenseTexts = licenseExpressions.licenses().mapNotNullTo(mutableSetOf()) { license -> input.licenseTextProvider.getLicenseText(license) - }.joinToString("\n--\n") + }.joinToString("\n--\n") { it.trimEnd() } with(pkg.metadata) { Component(