I’ve been trying to emebedd my
rust project into gradle building. But
rust’s release building is platform related. I have many build tasks for each platforms. And I need to decide call one manually. So I thought I can solve this by add an auto-detected task.
At first, I used the
dependsOn function. Then I found that it determined the dependency each time I refresh the project, and slow down the sync every time. Then I tried to find a way to make the auto-detected task call another task only when it was called.
Unluckily, I did not find the solution what I want. Dear Mr. Vampire, do you know any information about that?