Jakub Gwóźdź
12/11/2020, 1:19 PM@Override
public Property<Duration> getTimeout() {
return super.getTimeout();
}
neat, right? But to set it, I need to construct Duration object:
timeout.set(java.time.Duration.ofSeconds(10))
legit, right?
Unfortunately, because gradle exposes the top level property named `java`(plugin extension). I simply cannot create such Duration object (Unresolved reference: time
)
What is the best-practice here, how to work around it?Vampire
12/11/2020, 1:20 PMJakub Gwóźdź
12/11/2020, 1:27 PM