Closed jmfayard closed 5 years ago
Given that by default, the Android Gradle Plugin is a pain in the ass to configure, when the plugin is first added, IF the user uses the Kotlin DSL, it will copy a file "plugins.gradle.kts" that does all the boilerplate.
The user only has to edit this part:
// settings.gradle.kts pluginManagement { repositories { google() gradlePluginPortal() } } apply(from = "plugins.gradle.kts") // rootProject.name = xxx // include(":app")
See sample-android in my project
sample-android
https://github.com/jmfayard/buildSrcVersions/tree/refreshVersions/sample-android
@LouisCAD cancelling this PR, it's better to put this logic in my plugin
Given that by default, the Android Gradle Plugin is a pain in the ass to configure, when the plugin is first added, IF the user uses the Kotlin DSL, it will copy a file "plugins.gradle.kts" that does all the boilerplate.
The user only has to edit this part:
See
sample-android
in my projecthttps://github.com/jmfayard/buildSrcVersions/tree/refreshVersions/sample-android