Update task assembleNimbusTools to be configuration-cache friendly with fenix.

This commit is contained in:
Aaditya Dhingra 2025-01-10 09:47:11 -05:00 коммит произвёл Charlie Humphreys
Родитель d54043ef34
Коммит e37ba792a5
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -137,6 +137,7 @@ class NimbusPlugin implements Plugin<Project> {
}
def setupAssembleNimbusTools(Project project) {
def applicationServicesDir = project.nimbus.applicationServicesDir
return project.tasks.register('assembleNimbusTools', NimbusAssembleToolsTask) { task ->
group "Nimbus"
description "Fetch the Nimbus FML tools from Application Services"
@ -165,7 +166,7 @@ class NimbusPlugin implements Plugin<Project> {
}
onlyIf('`applicationServicesDir` == null') {
project.nimbus.applicationServicesDir.getOrNull() == null
applicationServicesDir.getOrNull() == null
}
}
}