https://kotlinlang.org logo
Title
s

spierce7

02/03/2023, 4:30 PM
Is there a way to download all dependencies for Android before the build with Kotlin Script Gradle? I'm trying to pre-cache all my dependencies nightly to speed up our CI builds.
d

Daniel B Duval

02/03/2023, 5:18 PM
You could set up a remote cache server for people and use a machine to seed the build on a nightly basis.
e

ephemient

02/03/2023, 6:04 PM
my team reuses the Gradle dependency cache across CI builds, which is the easiest solution IMO :)
s

spierce7

02/03/2023, 6:05 PM
Gradle dependency cache?
e

ephemient

02/03/2023, 6:06 PM
f

florent

02/05/2023, 1:15 PM
Well just run a build nightly with an empty cache, and use that cache for the daily builds. I don't think there is any need for a specific command