문제

I've got plugin task with name for example name1. And I've got my task task1.

When I execute task name1 I want to execute my task1.

How to achieve this?

도움이 되었습니까?

해결책

Use dependsOn or mustRunAfter. Link to the docs.

다른 팁

Add this in your build.gradle:

name1.dependsOn(task1)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top