Slackbot
10/07/2022, 2:11 PMChris Lee
10/07/2022, 2:15 PM.all
vs .configureEach
(eager vs lazy, which isn’t material for configurations).
configurations.all {
if (state == Configuration.State.UNRESOLVED) {
resolutionStrategy {
// force latest.release (and other dynamic versions) to refresh
// this allows for emergency changes, like realigning artifact versions with CVEs
cacheDynamicVersionsFor(2, TimeUnit.HOURS)
// snapshots
cacheChangingModulesFor(5, TimeUnit.MINUTES)
}
}
}
Caleb Cushing
10/07/2022, 2:18 PMCaleb Cushing
10/07/2022, 2:18 PMCaleb Cushing
10/07/2022, 2:19 PMChris Lee
10/07/2022, 2:19 PM1.+
, for example.Chris Lee
10/07/2022, 2:20 PMCaleb Cushing
10/07/2022, 2:21 PMChris Lee
10/07/2022, 2:21 PMChris Lee
10/07/2022, 2:22 PMconfigurations.all
Caleb Cushing
10/07/2022, 2:29 PMCaleb Cushing
10/07/2022, 2:29 PMCaleb Cushing
10/07/2022, 2:29 PMChris Lee
10/07/2022, 2:30 PMCaleb Cushing
10/07/2022, 2:31 PMCaleb Cushing
10/07/2022, 4:01 PMCaleb Cushing
10/07/2022, 4:02 PMCaleb Cushing
10/07/2022, 4:02 PMCaleb Cushing
10/07/2022, 4:06 PMCaleb Cushing
10/07/2022, 4:07 PMChris Lee
10/07/2022, 4:41 PMCaleb Cushing
10/07/2022, 5:28 PMCaleb Cushing
10/07/2022, 5:28 PMCaleb Cushing
10/07/2022, 5:28 PMCaleb Cushing
10/07/2022, 5:45 PMCaleb Cushing
10/07/2022, 5:53 PMlanguageVersion
. Yay SCOPE!