Hello!
I am super new to Gradle, everything I was doing earlier was just adding dependencies in Android project. Right now, I am trying to figure it out how to declare task in build.gradle (Android app/project build.gradle to be specific). I am trying to add task which is executing before Android build, but I need three separate tasks, which only executes when I invoke them, not when whole build/sync is going on.
Just like it is working with tasks like
detekt
(Kotlin linter). It is declared in project build.gradle, but invoked only when needed. With that, I will add exact to specific run config in Android Studio.
I cannot find the answer for that problem in docs or stack.
Any advice/links to articles/tutorials? Thanks đ