Android-Gradle-KTS icon indicating copy to clipboard operation
Android-Gradle-KTS copied to clipboard

An Android template you can use to build your project with gradle kotlin dsl

Results 4 Android-Gradle-KTS issues
Sort by recently updated
recently updated
newest added

I would recommend using Gradles Task Container Extension functions. So instead of ```kotlin tasks.register("clean", Delete::class.java) { delete(rootProject.buildDir) } ``` you can write ```kotlin tasks.register("clean") { delete(rootProject.buildDir) } ```

Using the buildscript block (like in your root `build.gradle.kts`) is considered as [Legacy Plugin Application](https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_application). You should migrate to the [Plugins DSL](https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block).

Looks like you just set the gradle version in your `gradle-wrapper.properties` but didn't run the recommended gradle wrapper update task (your `gradlew` and `gradlew.bat` are not matching this gradle release):...

Remove the `.DS_Store` file (also part of your gitignore) from this repo. You should also consider to completly remove the `.idea` folder. I don't think it makes sense to set...