https://kotlinlang.org logo
#amper
Title
# amper
j

Jakub Gwóźdź

12/04/2023, 11:47 AM
Hi. The amper plugin works great (I migrated my AoC project from gradle to it) and I love it, but I have one question: the initial setup took over 10 minutes while all the strange plugin’s dependencies were downloaded - I saw some grpc/protobuf libs, some webservers, tensorflow, and many other things - overall 360 files (including sources.jar), summing up to over half a giga . While this is done only once and then stored in cache in
~/.gradle
, I wonder if it is usable in CI environment, and/or if there are any plans on limiting the number of dependencies. (although it might be possible that the files were downloaded not by
./gradlew build
but by IntelliJ’s “Reload All Gradle Projects”)
p

Pavel Haluza

12/04/2023, 11:58 AM
Yea, I also saw some Android deps being downloaded, even though my project was pure JVM and native. That’s 0.1.0 for you I guess 😄
a

amakeev

12/04/2023, 2:36 PM
@Jakub Gwóźdź Thanks for the feedback! I'll pass it to the team. Currently Amper does excessive work downloading everything. As Pavel guessed, it's indeed simply because it's and early prototype. In future we want to make sure that only the bare minimum is downloaded and only when needed. Here is a ticket to follow.
j

Jakub Gwóźdź

12/04/2023, 2:55 PM
@Anton Makeev yeah I’m excited about a modern buildtool with declarative config, and not a program. I mean - while programs are great, it makes them hard to analyze statically dependabot-like. Hopefully this will get enough traction to live to it’s full potential.
🙏 1
2 Views