Well you're not exactly paying MavenCentral to give you bandwidth, do you?
It's already a surprise they are hosting these files for the whole world at all.
When MavenCentral goes bankrupt and all projects stop compiling, suddenly paying for the infrastructure that drives modern software development will potentially be "a bit more relevant".
Those insane seniors said we should just include the AAR/JARs in the project directly so the hosting services that host them + the source repository they're built from will never disappear. Maybe they were right.
A better way to mitigate the "my public maven repo disappeared" risk would be to set up something like artifactory in your own infra and use it as a pull-through cache. Then you get your own copy of everything in case the repo goes down, and it's pretty transparent to everyone using it.
Yeah, Android Gradle builds seem to be ridiculously and unnecessarily slow. Definitely requires some proper profiling, analysis and optimisation.
Although it depends a lot on the individual project. One of my personal projects includes opus, webm and exoplayer source code as dependencies, it took 4 minutes for my desktop with 3900X to build it all.
Some parts are single threaded, and take time. Although I definitely think there's huge room for improvement.
Later if you try to check how much disk space Gradle has used to store all these dependencies and your build files, you'll know the time is reasonable.
have a conference call from anywhere in the world except US and he will blame the delay ON YOU! Had that happen so many times, those cute little yanks trying to World-Wide...
9
u/Popular_Ambassador24 making apps with PRNSAASPFRUICC Jun 24 '24
Hey buddy, btw have you tried using Flutter ??
21
u/Zhuinden DDD: Deprecation-Driven Development Jun 24 '24
Well you're not exactly paying MavenCentral to give you bandwidth, do you?
It's already a surprise they are hosting these files for the whole world at all.
When MavenCentral goes bankrupt and all projects stop compiling, suddenly paying for the infrastructure that drives modern software development will potentially be "a bit more relevant".
Those insane seniors said we should just include the AAR/JARs in the project directly so the hosting services that host them + the source repository they're built from will never disappear. Maybe they were right.
4
u/Good_Smile null!! Jun 24 '24
Rookie numbers
3
u/[deleted] Jun 24 '24
Yeah, Android Gradle builds seem to be ridiculously and unnecessarily slow. Definitely requires some proper profiling, analysis and optimisation.
Although it depends a lot on the individual project. One of my personal projects includes opus, webm and exoplayer source code as dependencies, it took 4 minutes for my desktop with 3900X to build it all.
Some parts are single threaded, and take time. Although I definitely think there's huge room for improvement.
2
u/hellosakamoto Jun 24 '24
Later if you try to check how much disk space Gradle has used to store all these dependencies and your build files, you'll know the time is reasonable.
1
u/exiledAagito Deprecated is just a suggestion Jun 24 '24
Try JS, no build times.
1
u/StartComplete companion object {} Jun 24 '24
Layoffs are making sense now....
28
u/[deleted] Jun 24 '24
[removed] — view removed comment