plugins Ġ{ ĊĠĠĠ Ġ` java - convention ` ĊĠĠĠ Ġ` spot less - config ` Ċ } Ċ Ċ val Ġweb Resource Ġby Ġconfigurations . creating Ċ val Ġprovided Ġby Ġconfigurations . creating Ċ Ċ configurations Ġ{ ĊĠĠĠ Ġruntime Only Ġ{ ĊĠĠĠĠĠĠĠ Ġextends From ( web Resource ) ĊĠĠĠ Ġ} ĊĊĠĠĠ ĠlistOf ( compile Only , Ġtest Implementation ). forEach Ġ{ ĊĠĠĠĠĠĠĠ Ġit . get (). extends From ( provided ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġprovided (" org . apache . tomcat : tomcat - catalina :${ libs . versions . tomcat . get () }") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude (" org . apache . tomcat ", Ġ" tomcat - servlet - api ") ĊĠĠĠĠĠĠĠ Ġexclude (" org . apache . tomcat ", Ġ" tomcat - annotations - api ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġprovided (" jak arta . annotation : jak arta . annotation - api ") ĊĊĠĠĠ Ġimplementation ( project (": integration ")) ĊĠĠĠ Ġimplementation (" org . springframework : spring - web mvc ") ĊĠĠĠ Ġimplementation (" org . springframework : spring - tx ") ĊĠĠĠ Ġimplementation (" org . web j ars : web j ars - locator : 0 . 4 2 ") ĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot ") ĊĠĠĠ Ġimplementation (" org . springframework . data : spring - data - commons ") ĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - autoconfigure ") ĊĠĠĠ Ġimplementation (" jak arta . servlet : jak arta . servlet - api ") ĊĠĠĠ Ġimplementation (" jak arta . validation : jak arta . validation - api ") ĊĠĠĠ Ġimplementation (" commons - codec : commons - codec ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . datatype : jackson - datatype - js r 3 1 0 ") ĊĠĠĠ Ġimplementation (" org . apache . commons : commons - lang 3 ") ĊĊĠĠĠ Ġtest Implementation (" commons - io : commons - io : 2 . 1 1 . 0 ") ĊĠĠĠ Ġtest Implementation (" org . springframework . boot : spring - boot - starter - test ") ĊĊĠĠĠ Ġintegration Test Implementation (" org . hibernate . validator : hibernate - validator ") ĊĠĠĠ Ġintegration Test Runtime Only (" org . glass fish : jak arta . el ") ĊĊĠĠĠ Ġweb Resource (" org . web j ars : bootstrap : 5 . 1 . 3 ") ĊĠĠĠ Ġweb Resource (" org . web j ars : jquery : 3 . 6 . 0 ") ĊĠĠĠ Ġweb Resource (" org . web j ars . npm : bootstrap - icons : 1 . 7 . 0 ") ĊĠĠĠ Ġweb Resource (" org . web j ars : datatables : 1 . 1 1 . 3 ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude (" org . web j ars ", Ġ" jquery ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġannotation Processor (" org . springframework . boot : spring - boot - configuration - processor ") Ċ Ċ } Ċ Ċ // ĠCop ies Ġeach Ġenglish Ġproperties Ġresource Ġbundle Ġfile Ġinto Ġa Ġfile Ġwith Ġthe Ġresource Ġbundle 's Ġdefault Ġname Ċ tasks . process Resources Ġ{ ĊĠĠĠ Ġfrom (" src / main / resources /") Ġ{ ĊĠĠĠĠĠĠĠ Ġinclude ("* _ en . properties ") ĊĠĠĠĠĠĠĠ Ġrename ("( .* )_ en . properties ", Ġ"$ 1 . properties ") ĊĠĠĠ Ġ} Ċ } Ċ