Thread
#multiplatform
    d

    dimsuz

    9 months ago
    Yeah, it definetely feels like kmm + gradle is not a good match. Everytime I try to configure something build-related, it ends up leading into dozens of open tabs, google searches, swears and lost hopes 🙂 And this is after 9+ years of working with Android and gradle. I do hope that somehow I'll aquire more kmm+kts+gradle-fu, but I wish this was more friendly and welcoming ecosystem. P.S. And I didn't even try building my KMM project on iOS, I suspect this will be another "fun" ride 😃
    j

    jimn

    9 months ago
    the fastest way out of hell is finding mature github projects that are using the gradle plugins you want. in this regard the keywords are somewhat searchable.
    Nicklas Jensen

    Nicklas Jensen

    9 months ago
    Hey there @dimsuz. I recently published a KMM project, and I too found it difficult to get it published but eventually got the pieces put together, mostly thanks to looking into what other KMM libraries were doing. You can check out how I’ve set it up for Mockative
    d

    dimsuz

    9 months ago
    Thanks! Yes, that was my plan, jim n 🙂 I've already set up a list of libs I'll use as a reference, will add Mockative to this list, thanks!
    j

    jimn

    9 months ago
    I don't understand but perhaps IOs throws a wrinkle in things, how a discrete set of stages and POM fixtures in maven is less-good. it seems to me like using maven-antrun-plugin and similar addresses the "i can't write my project spaghetti" complaints that accompany xml dialects, and by my estimation ant xml and maven plugin xml is likely to be a more stable code snippet to borrow from project to project, backed up by 15 years of my own experience doing same.
    d

    dimsuz

    9 months ago
    Unfortunately I've never worked in maven, but seen some devs which are afraid of gradle and favor maven. But also have heard that maven can be an xml-hell and gradle wasn't invented out of nowhere (but rather out of frustration with maven).
    j

    jimn

    9 months ago
    i fail to see m8uch distinction between ant and gradle, but the fact is that every single ant project was a unqiue snowflake unlike any other ant project, and when maven 2 dropped jelly scripting this was no longer maven's problem. you will see venerable projects which were hardcore Ant all the way until gradle, or buck, or some other non-maven scripting option gained traction[at google].