plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġid (" org . springframework . boot ") ĊĠĠĠ Ġid (" com . mo ow ork . node ") Ċ } Ċ Ċ group Ġ= Ġroot Project . group Ċ version Ġ= Ġroot Project . version Ċ Ċ configure < Java Plugin Convention > Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven Local () Ċ } Ċ Ċ val Ġinstall N pm Dependencies Ġ= Ġtasks . register < com . mo ow ork . gradle . node . npm . N pm Task >(" install N pm Dependencies ") Ġ{ ĊĠĠĠ Ġdescription Ġ= Ġ" Install s Ġdependencies Ġfrom Ġpackage . json " ĊĠĠĠ Ġgroup Ġ= Ġ" build " ĊĠĠĠ Ġset Working Dir ( file (" src / main / js ")) ĊĠĠĠ Ġset Args ( listOf (" install ")) ĊĠĠĠ Ġinputs . file (" src / main / js / package . json ") ĊĠĠĠ Ġoutputs . dir (" src / main / js / node _ modules ") Ċ } Ċ Ċ val Ġwatch Dev Ġ= Ġtasks . register < com . mo ow ork . gradle . node . npm . N pm Task >(" watch Dev ") Ġ{ ĊĠĠĠ Ġdepends On ( install N pm Dependencies ) ĊĠĠĠ Ġgroup Ġ= Ġ" build " ĊĠĠĠ Ġset Working Dir ( file (" src / main / js ")) ĊĠĠĠ Ġinputs . file (" src / main / js / package . json ") ĊĠĠĠ Ġinputs . dir (" src / main / js / src ") ĊĠĠĠ Ġoutputs . files (" src / main / resources / public / bundle . js ", Ġ" src / main / resources / public / main . bundle . css ") ĊĠĠĠ Ġset Args ( listOf (" run ", Ġ" start ")) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( project (": engine ")) ĊĠĠĠ Ġimplementation (" io . wt tech . gra al . temp lating : temp lating - spring - boot - starter : 0 . 3 . 0 ") Ċ } Ċ