Slackbot
08/23/2023, 2:16 PMThomas Broyer
08/23/2023, 2:28 PMThomas Broyer
08/23/2023, 2:30 PMFabio Berta
08/23/2023, 2:31 PMFabio Berta
08/23/2023, 2:40 PMFabio Berta
08/23/2023, 2:40 PMAdam
08/23/2023, 2:42 PMFabio Berta
08/23/2023, 2:44 PMFabio Berta
08/23/2023, 2:45 PMimplementation doesn't seem to be available in the script plugin unless I add an obscure import: import gradle.kotlin.dsl.accessors._07bf104a0ea43b0dca361639a0f9e875.implementationFabio Berta
08/23/2023, 2:45 PMAdam
08/23/2023, 2:45 PMFabio Berta
08/23/2023, 2:45 PMAdam
08/23/2023, 2:47 PMimplementation is a Kotlin DSL Accessor that Gradle will generate when you apply (using the Plugins DSL!) the Java plugin (or some other plugin that also registers implementation)Fabio Berta
08/23/2023, 2:48 PMkotlin("jvm"), that would do the trick?Adam
08/23/2023, 2:48 PMFabio Berta
08/23/2023, 2:50 PMkotlin("android"). That doesn't work 🤔Adam
08/23/2023, 2:50 PMFabio Berta
08/23/2023, 2:50 PMAdam
08/23/2023, 2:50 PMFabio Berta
08/23/2023, 2:52 PMAdam
08/23/2023, 2:54 PM./gradlew clean, restarting IntelliJ, running the 'repair IDE' steps until IJ restarts, and run Gradle syncAdam
08/23/2023, 2:54 PMFabio Berta
08/23/2023, 2:57 PMFabio Berta
08/23/2023, 3:07 PMkotlin("android") requires either `com.android.application`or com.android.library to be applied as well. Which is a bit of a pity because now I need to have 2 convention plugins for this thing, one for apps and one for libs, but it works 👍Adam
08/23/2023, 3:09 PMFabio Berta
08/23/2023, 3:10 PM