our application has almost 2GB of resources, which we rarely update. Which is the best strategy gradle-wise to have them extern?
g
gildor
12/14/2018, 8:38 AM
keep them out of the project and ship separately?
☝️ 1
e
elect
12/14/2018, 8:38 AM
yeah, something like that
g
gildor
12/14/2018, 8:39 AM
so keep and ship them separately %) Depends on your deploy process
gildor
12/14/2018, 8:40 AM
I don’t think Gradle should be involved, you can just pass path to resources to your app
e
elect
12/14/2018, 8:40 AM
ok
g
gildor
12/14/2018, 8:45 AM
If you have a lot of binary resources you can use git lfs and configure deployment to ship app and resources separately
e
elect
12/19/2018, 10:58 AM
@gildor just a question, what did you mean exactly by "path to resources to your app"?
g
gildor
12/19/2018, 12:53 PM
It's just an example, because you cannot bundle resources to jar, you need a way how to access them, and probably on dev and prod you have different configurations for that,
So you can pass resources path to application to resolve them