/* Ċ Ġ* ĠCopyright Ġ 2 0 2 0 ĠJ ak ub ĠZ al as Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ package Ġpl . z al as . gradle . struct ur iz rc li Ċ Ċ import Ġorg . gradle . test fixtures . Project Builder Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertNotNull Ċ Ċ class ĠStruct ur izr Cli Plugin Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Version Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Version ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Download Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Download ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Extract Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Extract ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Export Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Export ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Pull Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Pull ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` it Ġregisters Ġthe Ġstruct ur izr Cli Push Ġtask `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproject Ġ= ĠProject Builder . builder (). build () ĊĠĠĠĠĠĠĠ Ġproject . plugins . apply (" pl . z al as . struct ur izr - cli ") ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( project . tasks . find ByName (" struct ur izr Cli Push ")) ĊĠĠĠ Ġ} Ċ } Ċ