Fix top-level property of an API-level-dependent class: move to the body
This commit is contained in:
+1
-3
@@ -837,8 +837,6 @@ internal class SubpluginEnvironment(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private val fileOptionsPathSensitivity = PathSensitivity.RELATIVE
|
|
||||||
|
|
||||||
internal fun Task.registerSubpluginOptionAsInput(subpluginId: String, option: SubpluginOption) {
|
internal fun Task.registerSubpluginOptionAsInput(subpluginId: String, option: SubpluginOption) {
|
||||||
when (option) {
|
when (option) {
|
||||||
is WrapperSubpluginOption -> {
|
is WrapperSubpluginOption -> {
|
||||||
@@ -860,7 +858,7 @@ internal fun Task.registerSubpluginOptionAsInput(subpluginId: String, option: Su
|
|||||||
if (option.kind == FileOptionKind.CLASSPATH_INPUT)
|
if (option.kind == FileOptionKind.CLASSPATH_INPUT)
|
||||||
inputs.files(option.files).withNormalizer(ClasspathNormalizer::class.java)
|
inputs.files(option.files).withNormalizer(ClasspathNormalizer::class.java)
|
||||||
else
|
else
|
||||||
inputs.files(option.files).withPathSensitivity(fileOptionsPathSensitivity)
|
inputs.files(option.files).withPathSensitivity(PathSensitivity.RELATIVE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user