# Create Gradle Plugin ( @TaskAction)

**URL:** <https://discuss.gradle.org/t/create-gradle-plugin-taskaction/8538>\
**Category:** Help/Discuss\
**Created:** [April 2, 2015, 7:28pm UTC](https://discuss.gradle.org/t/create-gradle-plugin-taskaction/8538 "2015-04-02T19:28:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [April 26, 2021, 11:23pm UTC](https://discuss.gradle.org/t/create-gradle-plugin-taskaction/8538/4 "2021-04-26T23:23:48Z")

</div>

From a quick look at the sources and my memory, I’d say

- if you have multiple incremental actions (no matter whether old or new api) you get an error
- if you have one or none incremental action and potentially further non-incremental actions, the inremental one is executed first if present and the non-incremental ones last, where the order of the non-incremental ones is defined by the order they are returned from `getDeclaredMethods()` and thus JVM dependent and not defined afair.

---

_[View the full topic](https://discuss.gradle.org/t/create-gradle-plugin-taskaction/8538)._
