Debian Codegraph @

gradle/plugins/common/src/main/kotlin/junitbuild/exec/ClasspathSystemPropertyProvider.kt

raw
1 package junitbuild.exec
2
3 import org.gradle.api.file.FileCollection
4 import org.gradle.api.tasks.Classpath
5 import org.gradle.process.CommandLineArgumentProvider
6
7 class ClasspathSystemPropertyProvider(private val propertyName: String, @get:Classpath val files: FileCollection) : CommandLineArgumentProvider {
8 override fun asArguments() = listOf("-D$propertyName=${files.asPath}")
9 }