https://kotlinlang.org logo
Title
h

Hamza

10/03/2018, 2:11 PM
im sick of maven now so often whenever i set a program, it can’t read my dependencies. it happens so often and im so annoyed. why does this happen? This happens more often than not, im not sure why. someone please help me resolve tihs issue permanently
:gradle: 5
many people reacting with gradle, but others i am working with insist that i work with maven ;/, and 5 against 1 so i can’t
r

Ruckus

10/03/2018, 2:46 PM
Gradle isn't the solution anyway. You just end up trading one set of problems for another. Neither is really intrinsically better than the other, though many people will fight to the death claiming their preferred build tool is.
👆 2
👏 1
h

Hamza

10/03/2018, 2:47 PM
i just find it really annoying that every time i make a new project, i have to wait 5~ minutes running
mvn clean verify
before starting any project
r

Ruckus

10/03/2018, 2:52 PM
Indeed, Gradle is usually faster, but I've also always found it more finicky and brittle. It's all tradeoffs. A couple weeks ago I ran into a weird issue where the Gradle daemon refused to run because it couldn't find the Android SDK. I have never done any sort of android development on this machine, yet out of the blue it decided I should have it.
h

Hamza

10/03/2018, 2:52 PM
yeah, that hapened to me too! It was an old project that was in offline mode, and it stopped working while i had no net, and i was so annoyed and confused
r

Ruckus

10/03/2018, 2:54 PM
Did you find a solution? I ended up manually overwriting the wrapper to a newer version, which seemed to work, but I'm still not sure what the problem was.
h

Hamza

10/03/2018, 2:54 PM
i deleted the project 😂
r

Ruckus

10/03/2018, 2:58 PM
I've always like the nuclear solution 😆
d

dalexander

10/03/2018, 2:59 PM
I actually ran into that exact same issue last weekend (it was expecting an Android SDK), and the solution was also upgrading the wrapper :troll:
h

Hamza

10/03/2018, 2:59 PM
i feel like gradle is like a 90% complete solution, and i can never remember how it all works, it’s kind of confusing
r

Ruckus

10/03/2018, 3:01 PM
Weird, it must have been much more widespread than I thought. Now I really want to know what triggered it.
d

dalexander

10/03/2018, 5:05 PM
It happened to me around the time I was trying to update to the Kotlin 1.3 RC from an earlier version (1.2.1 or something?) I also had a couple of new libraries I was pulling in, so maybe something between those two operations.