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
// Copyright (c) 2024. Tony Robalik.
// SPDX-License-Identifier: Apache-2.0
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)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy