package Ġcom . cod it ory . gradle . manifest Ċ Ċ import Ġcom . cod it ory . gradle . manifest . Manifest Plugin . Companion . GENER ATE _ MAN IFEST _ TASK Ċ import Ġcom . cod it ory . gradle . manifest . base . Test Project Builder . Companion . project With Plugins Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . gradle . api . plugins . Java Plugin Ċ import Ġorg . gradle . language . jvm . tasks . Process Resources Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠPlugin Setup Test Ġ{ ĊĠĠĠ Ġprivate Ġval Ġproject Ġ= Ġproject With Plugins () ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġ@ Suppress (" Un stable Api Usage ") ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġregister Ġmanifest Ġtask Ġto Ġrun Ġafter Ġprocess Resources `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtask Ġ= Ġproject . tasks . get ByName ( GENER ATE _ MAN IFEST _ TASK ) ĊĠĠĠĠĠĠĠ Ġval Ġprocess Resources Ġ= Ġproject . tasks ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. named ( Java Plugin . PROCESS _ RESOURCES _ TASK _ NAME , ĠProcess Resources :: class . java ). get () ĊĠĠĠĠĠĠĠ ĠassertThat ( process Resources . final ized By . get Dependencies ( process Resources )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. contains ( task ) ĊĠĠĠ Ġ} Ċ } Ċ