package Ġorg . art em bo g omo lo va . build . plugins Ċ Ċ import Ġorg . art em bo g omo lo va . build . tasks . Task Registration Ċ import Ġorg . gradle . api . Plugin Ċ import Ġorg . gradle . api . Project Ċ Ċ class ĠCommon Build Plugin Ġ: ĠPlugin < Project > Ġ{ ĊĠĠĠ Ġprivate Ġval Ġrepository App lier : ĠPlugin < Project > Ġ= ĠRepository App lier () ĊĠĠĠ Ġprivate Ġval Ġtask Regist rations : ĠTask Registration Ġ= ĠTask Registration () ĊĠĠĠ Ġprivate Ġval Ġproject Languages Plugin : ĠProject Languages Plugin Ġ= ĠProject Languages Plugin () ĊĠĠĠ Ġprivate Ġval Ġstatic Analysis Plugin : ĠStatic Analysis Plugin Ġ= ĠStatic Analysis Plugin () ĊĠĠĠ Ġprivate Ġval Ġcode Coverage Plugin : ĠCode Coverage Plugin Ġ= ĠCode Coverage Plugin () ĊĠĠĠ Ġprivate Ġval Ġexternal Tool Integration Plugin : ĠExternal Tool Integration Plugin Ġ= ĠExternal Tool Integration Plugin () ĊĠĠĠ Ġoverride Ġfun Ġapply ( target : ĠProject ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtask Regist rations . register Tasks ( target ) ĊĠĠĠĠĠĠĠ Ġrepository App lier . apply ( target ) ĊĠĠĠĠĠĠĠ Ġproject Languages Plugin . apply ( target ) ĊĠĠĠĠĠĠĠ Ġstatic Analysis Plugin . apply ( target ) ĊĠĠĠĠĠĠĠ Ġcode Coverage Plugin . apply ( target ) ĊĠĠĠĠĠĠĠ Ġexternal Tool Integration Plugin . apply ( target ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ internal Ġclass ĠRepository App lier Ġ: ĠPlugin < Project > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġapply ( target : ĠProject ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtarget . repositories . add ( target . repositories . maven Central ()) ĊĠĠĠĠĠĠĠ Ġtarget . repositories . add ( target . repositories . gradle Plugin Portal ()) ĊĠĠĠ Ġ} Ċ Ċ } Ċ