import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ Ċ ĉ id (" org . springframework . boot ") Ġversion Ġ" 2 . 4 . 4 " Ċ ĉ id (" io . spring . dependency - management ") Ġversion Ġ" 1 . 0 . 1 1 . RELEASE " Ċ ĉ war Ċ ĉ kotlin (" jvm ") Ġversion Ġ" 1 . 4 . 3 1 " Ċ ĉ kotlin (" plugin . spring ") Ġversion Ġ" 1 . 4 . 3 1 " Ċ ĉ kotlin (" plugin . jpa ") Ġversion Ġ" 1 . 4 . 3 1 " Ċ ĉ jac oco Ċ } Ċ Ċ group Ġ= Ġ" ar . edu . un q " Ċ version Ġ= Ġ" 0 . 0 . 1 - SNAPSHOT " Ċ java . source Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ Ċ repositories Ġ{ Ċ ĉ maven Central () Ċ } Ċ Ċ dependencies Ġ{ Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - data - jpa ") Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - security ") Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - web ") Ċ ĉ implementation (" com . fasterxml . jackson . module : jackson - module - kotlin ") Ċ ĉ implementation (" org . jetbrains . kotlin : kotlin - reflect ") Ċ ĉ implementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 8 ") Ċ ĉ implementation (" io . json web token : jj wt : 0 . 9 . 1 ") Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - validation ") Ċ ĉ implementation (" commons - validator : commons - validator : 1 . 4 . 1 ") Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - mail : 2 . 2 . 5 . RELEASE ") Ċ ĉ implementation (" org . springframework . boot : spring - boot - starter - data - redis ") Ċ ĉ test Implementation (" org . springframework . boot : spring - boot - starter - test ") Ċ ĉ test Implementation (" org . springframework . security : spring - security - test ") Ċ ĉ provided Runtime (" org . springframework . boot : spring - boot - starter - tomcat ") Ċ ĉ runtime Only (" org . postgresql : postgresql ") Ċ ĉ runtime Only (" com . h 2 database : h 2 ") Ċ ĉ implementation (" com . merc ad op ago : sdk - java : 1 . 8 . 0 ") Ċ ĉ implementation Ġ(" org . slf 4 j : slf 4 j - api : 1 . 7 . 3 0 ") Ċ } Ċ Ċ tasks . with Type < Kotlin Compile > Ġ{ Ċ ĉ kotlin Options Ġ{ Ċĉ ĉ free Compiler Args Ġ= ĠlistOf ("- X js r 3 0 5 = strict ") Ċĉ ĉ jvm Target Ġ= Ġ" 1 . 8 " Ċ ĉ } Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ Ċ ĉ use JUnit Platform () Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ Ċ ĉ use JUnit Platform () Ċ } Ċ Ċ tasks . test Ġ{ Ċ ĉ final ized By ( tasks . jac oco Test Report ) Ġ// Ġreport Ġis Ġalways Ġgenerated Ġafter Ġtests Ġrun Ċ } Ċ tasks . jac oco Test Report Ġ{ Ċ ĉ depends On ( tasks . test ) Ġ// Ġtests Ġare Ġrequired Ġto Ġrun Ġbefore Ġgenerating Ġthe Ġreport Ċ } Ċ Ċ tasks . jac oco Test Report Ġ{ Ċ ĉ reports Ġ{ Ċĉ ĉ xml . isEnabled Ġ= Ġtrue Ċĉ ĉ csv . isEnabled Ġ= Ġfalse Ċĉ ĉ html . destination Ġ= Ġlayout . build Directory . dir (" jac oco Html "). get (). as File Ċ ĉ } ĊĊ ĉ class Directories . set From ( Ċĉ ĉ source Sets . main . get (). output . as File Tree . matching Ġ{ Ċĉĉ ĉ include (" ar / edu / un q / m ient rad ita / model /** ") Ċĉĉ ĉ include (" ar / edu / un q / m ient rad ita / persistence /** ") Ċĉĉ ĉ include (" ar / edu / un q / m ient rad ita / service /** ") Ċĉĉ ĉ exclude (" ar / edu / un q / m ient rad ita / aspect /** ") Ċĉĉ ĉ exclude (" ar / edu / un q / m ient rad ita / service / dto /** ") Ċĉĉ ĉ exclude (" ar / edu / un q / m ient rad ita / model / builders /** ") Ċĉĉ ĉ exclude (" ar / edu / un q / m ient rad ita / service / Reminder * ") Ċĉĉ ĉ exclude (" ar / edu / un q / m ient rad ita / service / Mail Sender * ") Ċĉ ĉ } Ċ ĉ ) Ċ }