com.avito.test.gradle.plugin.BuildscriptClasspathPluginSpec.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-project Show documentation
Show all versions of test-project Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.test.gradle.plugin
import com.avito.test.gradle.dependencies.GradleScriptCompatible
internal class BuildscriptClasspathPluginSpec(
internal val classpathArtifact: ClasspathArtifact,
internal val pluginArtifact: PluginArtifact
) {
internal class ClasspathArtifact(artifact: String) : GradleScriptCompatible {
private val script: String = "classpath(\"$artifact\")"
override fun getScriptRepresentation(): String = script
override fun toString(): String = script
}
internal class PluginArtifact(artifact: String) : GradleScriptCompatible {
private val script: String = "plugin(\"$artifact\")"
override fun getScriptRepresentation(): String = script
override fun toString(): String = script
}
}