Build: Properly annotate input properties of IntelliJInstrumentCodeTask
This commit is contained in:
@@ -111,17 +111,21 @@ open class IntelliJInstrumentCodeTask : ConventionTask() {
|
|||||||
private const val LOADER_REF = "java2.loader"
|
private const val LOADER_REF = "java2.loader"
|
||||||
}
|
}
|
||||||
|
|
||||||
var sourceSet: SourceSet? = null
|
@Classpath
|
||||||
|
|
||||||
var instrumentationClasspath: Configuration? = null
|
var instrumentationClasspath: Configuration? = null
|
||||||
|
|
||||||
@Input
|
@InputFiles
|
||||||
|
@PathSensitive(PathSensitivity.RELATIVE)
|
||||||
var originalClassesDirs: FileCollection? = null
|
var originalClassesDirs: FileCollection? = null
|
||||||
|
|
||||||
@get:Input
|
@get:Input
|
||||||
var instrumentNotNull: Boolean = false
|
var instrumentNotNull: Boolean = false
|
||||||
|
|
||||||
|
@Internal
|
||||||
|
var sourceSet: SourceSet? = null
|
||||||
|
|
||||||
@get:InputFiles
|
@get:InputFiles
|
||||||
|
@get:PathSensitive(PathSensitivity.RELATIVE)
|
||||||
val sourceDirs: FileCollection
|
val sourceDirs: FileCollection
|
||||||
get() = project.files(sourceSet!!.allSource.srcDirs.filter { !sourceSet!!.resources.contains(it) && it.exists() })
|
get() = project.files(sourceSet!!.allSource.srcDirs.filter { !sourceSet!!.resources.contains(it) && it.exists() })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user