component-build-plugin / com.intershop.gradle.component.build.extension / Utils

Utils

class Utils

Util class with static methods to support the creation of a DSL.

Constructors

<init>

Utils()

Util class with static methods to support the creation of a DSL.

Companion Object Properties

MAX_PATH_LENGTH

const val MAX_PATH_LENGTH: Int

Max file system path length.

Companion Object Functions

getDependencyConf

fun getDependencyConf(handler: DependencyHandler, dependency: Any, errormessage: String): DependencyConfig

Calculates a dependency configuration from any object with Gradle dependency helper.

getDependencyString

fun getDependencyString(dep: DependencyConfig, sep: String): String

Calculate the string of a dependency configuration with a special separator configuration.

getIllegalChars

fun getIllegalChars(path: String): String

Calculates illegal characters for path configuration.