package Ġtool ing Ċ Ċ import Ġcom . intellij . execution . exec utors . Default Run Executor Ċ import Ġcom . intellij . openapi . external System . model . execution . External System Task Execution Settings Ċ import Ġcom . intellij . openapi . external System . service . execution . Progress Execution Mode Ċ import Ġcom . intellij . openapi . external System . task . Task Callback Ċ import Ġcom . intellij . openapi . external System . util . External System Util Ċ import Ġcom . intellij . openapi . module . Module Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġorg . jetbrains . kotlin . idea . configuration . external Project Path Ċ import Ġorg . jetbrains . plugins . gradle . util . Gradle Constants Ċ Ċ class ĠGradle Task Executor ( private Ġval Ġproject : ĠProject ) Ġ{ ĊĊĠĠĠ Ġvar Ġcallback : ĠTask Callback ? Ġ= Ġnull ĊĊĠĠĠ Ġfun Ġexecute Task ( name : ĠString , Ġargs : ĠArray < String >, Ġmodule : ĠModule ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsettings Ġ= ĠExternal System Task Execution Settings () ĊĠĠĠĠĠĠĠ Ġsettings . task Names Ġ= ĠlistOf ( name ) ĊĠĠĠĠĠĠĠ Ġsettings . script Parameters Ġ= Ġargs . join ToString ( separator Ġ= Ġ" Ġ") ĊĠĠĠĠĠĠĠ Ġsettings . external System Id String Ġ= ĠGradle Constants . SYSTEM _ ID . id ĊĠĠĠĠĠĠĠ Ġsettings . external Project Path Ġ= Ġmodule . external Project Path ĊĊĠĠĠĠĠĠĠ ĠExternal System Util . run Task ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġsettings , ĠDefault Run Executor . EXECUT OR _ ID , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġproject , ĠGradle Constants . SYSTEM _ ID , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcallback , ĠProgress Execution Mode . IN _ BACKGROUND _ ASYNC , Ġfalse ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ