package Ġcom . github . che hs un li u . example . blog . sb m . plugins . lint Ċ Ċ import Ġcom . github . spot bugs . sn om . Spot Bugs Plugin Ċ import Ġorg . gradle . test fixtures . Project Builder Ċ import Ġorg . junit . jupiter . api . Assertions . assertNotNull Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠJava Lint Plugin Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` plugin Ġregisters Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply ( Java Lint Plugin :: class . java ) ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . plugins . find Plugin ( Spot Bugs Plugin :: class . java )) ĊĠĠĠ Ġ} Ċ } Ċ