Slackbot
01/23/2023, 1:54 PMNiels Doucet
01/23/2023, 1:56 PMPhilip W
01/23/2023, 1:58 PMNiels Doucet
01/23/2023, 2:09 PMtasks.register
call inside an if block:
if (property) {
tasks.register<MyTask>("myTask)
}
Philip W
01/23/2023, 2:13 PMNiels Doucet
01/23/2023, 2:13 PMafterEvaluate
I thinkNiels Doucet
01/23/2023, 2:15 PMPhilip W
01/23/2023, 2:16 PMNiels Doucet
01/23/2023, 2:26 PMefemoney
01/24/2023, 7:54 PMPhilip W
01/24/2023, 7:58 PMaddLater
for dependencies though.efemoney
01/24/2023, 8:00 PMYeah, but this requires evaluating the Property by calling get().to mean that you don’t want to evaluate it at configuration time?
Philip W
01/24/2023, 8:02 PMset
and let Gradle handle calling get
to lazy configure your build.