com.autonomousapps.exception.BuildScriptParseException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dependency-analysis-gradle-plugin Show documentation
Show all versions of dependency-analysis-gradle-plugin Show documentation
Analyzes dependency usage in Android and JVM projects
package com.autonomousapps.exception
class BuildScriptParseException private constructor(msg: String) : RuntimeException(msg) {
internal companion object {
fun withErrors(messages: List): BuildScriptParseException {
var i = 1
val msg = messages.joinToString { "${i++}: $it" }
return BuildScriptParseException(msg)
}
}
}