hfhbd
11/23/2023, 10:14 AMBig Chungus
11/23/2023, 10:17 AMBig Chungus
11/23/2023, 10:18 AMhfhbd
11/23/2023, 10:19 AMBig Chungus
11/23/2023, 10:20 AMhfhbd
11/23/2023, 10:20 AMBig Chungus
11/23/2023, 10:20 AMCLOVIS
11/23/2023, 10:21 AMhfhbd
11/23/2023, 10:31 AMCLOVIS
11/23/2023, 10:34 AMBig Chungus
11/23/2023, 11:05 AMCLOVIS
11/23/2023, 11:08 AMBig Chungus
11/23/2023, 11:09 AMBig Chungus
11/23/2023, 11:10 AMVampire
11/23/2023, 11:11 AMJavier
11/23/2023, 11:11 AMVampire
11/23/2023, 11:14 AMJavier
11/23/2023, 11:14 AMVampire
11/23/2023, 11:15 AMCLOVIS
11/23/2023, 11:15 AMJavier
11/23/2023, 11:15 AMJavier
11/23/2023, 11:17 AMif/else
in the combination of github actions with yaml and amper and “duplicating” if conditions to get that simple behaviorVampire
11/23/2023, 11:17 AMGradle plus Kotlin is enough powerful to avoid any limitation a GitHub Action based on Yaml can haveYeah, I also prefer doing all logic in the build tool and not be tied too deep to the CI that I am currently using to stay flexible. But for testing my GitHub Action, there is not much other choice and there I have quite some complexity. :-D
Javier
11/23/2023, 11:19 AMCLOVIS
11/23/2023, 11:19 AMJavier
11/23/2023, 11:21 AMVampire
11/23/2023, 11:21 AMI'm really surprised they went the Amper route before simplifying the existing Gradle pluginDifferent teams probably 😄
Javier
11/23/2023, 11:49 AMCLOVIS
11/23/2023, 11:50 AMBig Chungus
11/23/2023, 11:52 AMCLOVIS
11/23/2023, 11:53 AMBig Chungus
11/23/2023, 11:54 AMCLOVIS
11/23/2023, 11:55 AMBig Chungus
11/23/2023, 11:55 AMBig Chungus
11/23/2023, 11:56 AMJavier
11/23/2023, 11:56 AMBig Chungus
11/23/2023, 11:57 AMJavier
11/23/2023, 12:03 PMcustomDSL {
config {
analysis() // config Sonar/Detekt
coverage() // config Kover
documentation() // config MkDocs and Dokka
format() // config spotless
publishing() // config publication to maven central
}
kotlin {
// This block could be used to add features from Kotlin/Kotlinx
// in an official DSL
features {
coroutines()
explicitApi()
serialization(json = true)
}
common()
apple {
ios {
...
}
macos {
...
}
tvos {
...
}
watchos {
...
}
}
jvm()
linux {
...
}
mingw {
...
}
}
}
CLOVIS
11/23/2023, 1:11 PMCLOVIS
11/23/2023, 1:11 PMeygraber
11/23/2023, 5:21 PMYeah, as much as I'd like to see jvm and android plugins gone in favour of kmp plugin, sadly it's just not realistic.
I think one of the JB engineers mentioned a while ago that this is a goal they're working towards (maybe not Android, but JVM)
tapchicoma
11/23/2023, 9:20 PMeygraber
11/23/2023, 9:22 PMtapchicoma
11/23/2023, 9:25 PMgildor
11/24/2023, 10:09 AMand android plugins gone in favour of kmp plugin, sadly it's just not realisticKotlin/Android soon will be gone, it will be a part of Android Gradle Plugin: https://issuetracker.google.com/issues/259523353
Big Chungus
11/24/2023, 10:23 AMgildor
11/24/2023, 10:25 AMCLOVIS
11/24/2023, 10:26 AMgildor
11/24/2023, 10:26 AMCLOVIS
11/24/2023, 10:27 AMtapchicoma
11/24/2023, 10:31 AMgildor
11/24/2023, 10:32 AMDropping Gradle to a solution based on Yaml is… bad_wordWell, gradle is not dropped, Amper is a gradle plugin (so far) And let's be honest, Kotlin DSL is improvement in terms of usability for Gradle, but it is still very far to be good and nice, it's still more like framework to configure gradle than real DSL
tapchicoma
11/24/2023, 10:33 AMBig Chungus
11/24/2023, 10:35 AMCLOVIS
11/24/2023, 10:37 AM