How to depend on 'detektMain' task? #3428
-
I need to set up a chain of tasks, some of which will run after I am able to run
I looked up setting up these tasks (like Can someone help me author these gradle tasks correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thank you for raising the question: The discussion of android gradle tasks can also be seen in #3122 and #3240. I have prototype #3334 to register android source set the same way as we register JVM source set, and does not use Feel free to use the method in #3334 if this is an urgent task for you and I am available on #kotlinlang slack. The prototype in #3334 is based on the custom solution I built at my company to register Android tasks correctly. We are probably going to evaluate different options in the next release after 1.16, and I would like to wait for AGP 4.2 to be fully released as well. |
Beta Was this translation helpful? Give feedback.
Thank you for raising the question: The discussion of android gradle tasks can also be seen in #3122 and #3240.
I have prototype #3334 to register android source set the same way as we register JVM source set, and does not use
afterEvaluate
block to enforce ordering of the execution in gradle.This prototype caused us to rethink gradle tasks #3364.
Feel free to use the method in #3334 if this is an urgent task for you and I am available on #kotlinlang slack. The prototype in #3334 is based on the custom solution I built at my company to register Android tasks correctly.
We are probably going to evaluate different options in the next release after 1.16, and I would like to wait for AGP 4.2…