I need to run some specific class enhancements. The issue is "contention" between IntelliJ and Gradle. I run compile in Gradle to apply the enhancement but sometimes for whatever reason IntelliJ decides it needs to re-compile that class which wipes out my enhancement. Next Gradle build still sees the classes as up-to-date, so compilation is not run and hence my action is not executed.
Anyway, moving this to jar.doFirst should work for me. On Tuesday, March 22, 2011, at 09:03 am, Peter Niederwieser wrote: > Steve Ebersole wrote: > > Is there a way to define an Action that always gets run? > > I guess you'd have to disable the up-to-date check. What kind of code is it > that you need to run even if compilation is up-to-date? > > -- > Peter Niederwieser > Developer, Gradle > http://www.gradle.org > Trainer & Consultant, Gradleware > http://www.gradleware.com > Creator, Spock Framework > http://spockframework.org > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Tasks-and-Actions-tp4248855p4256896.ht > ml Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email --- Steve Ebersole <[email protected]> http://hibernate.org --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
