public void addBuildTimestampDeferred ( @ Nonnull final Task pTask , @ Nonnull final Attributes pAttributes ) { pTask . doFirst ( new Closure < Void > ( pTask ) { @ Override @ SuppressWarnings ( "MethodDoesntCallSuperMethod" ) public Void call ( ) { addBuildTimestamp ( pAttributes ) ; return null ; } } ) ; }
Add build timestamp to some manifest attributes in the execution phase so that it does not count for the up - to - date check .