plugins Ġ{ ĊĠĠĠ Ġ` java - library ` ĊĠĠĠ Ġid (" application ") ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 7 . 1 . 2 " ĊĠĠĠ Ġid (" io . swagger . core . v 3 . swagger - gradle - plugin ") Ġversion Ġ" 2 . 2 . 0 " Ċ } Ċ Ċ val Ġjava Version Ġ= Ġ 1 1 Ċ val Ġed c Group Ġ= Ġ" org . eclipse . datas pace connector " Ċ val Ġed c Version Ġ= Ġ" 0 . 0 . 1 - SNAPSHOT " Ċ val Ġrs Api Ġ= Ġ" 3 . 0 . 0 " Ċ val Ġswagger Jax rs 2 Version Ġ= Ġ" 2 . 2 . 0 " Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ("$ edc Group : core - boot :$ edc Version ") ĊĠĠĠ Ġimplementation ("$ edc Group : core - base :$ edc Version ") ĊĠĠĠ Ġimplementation ("$ edc Group : http :$ edc Version ") ĊĊĠĠĠ Ġimplementation ("$ edc Group : filesystem - configuration :$ edc Version ") ĊĊĠĠĠ Ġimplementation ("$ edc Group : catalog - spi :$ edc Version ") ĊĠĠĠ Ġimplementation ("$ edc Group : contract - spi :$ edc Version ") ĊĠĠĠ Ġimplementation ("$ edc Group : transfer - spi :$ edc Version ") ĊĠĠĠ Ġimplementation ("$ edc Group : auth - spi :$ edc Version ") ĊĊĠĠĠ Ġimplementation (" jak arta . ws . rs : jak arta . ws . rs - api : 3 . 1 . 0 ") ĊĠĠĠ Ġimplementation (" com . auth 0 : java - jwt : 3 . 1 9 . 2 ") ĊĊĠĠĠ Ġtest Runtime Only (" org . junit . jupiter : junit - jupiter - engine : 5 . 8 . 1 ") ĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api : 5 . 8 . 1 ") ĊĠĠĠ Ġtest Implementation (" org . assertj : assertj - core : 3 . 2 1 . 0 ") ĊĠĠĠ Ġtest Implementation (" org . mockito : mockito - inline : 3 . 6 . 2 8 ") Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġtoolchain Ġ{ ĊĠĠĠĠĠĠĠ Ġlanguage Version . set ( Java Language Version . of ( java Version )) ĊĠĠĠ Ġ} Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain Class . set ("$ edc Group . boot . system . runtime . Base Runtime ") Ċ } Ċ Ċ tasks . with Type < com . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar > Ġ{ ĊĠĠĠ Ġexclude (" **/ pom . properties ", Ġ" **/ pom . xm ") ĊĠĠĠ Ġmerge Service Files () ĊĠĠĠ Ġarchive FileName . set (" edc . jar ") Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Local () ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven Ġ{ ĊĠĠĠĠĠĠĠ Ġurl Ġ= Ġuri (" https :// maven . ia is . f ra un ho fer . de / art ifactory / e is - ids - public /") ĊĠĠĠ Ġ} Ċ } Ċ Ċ build script Ġ{ ĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġclasspath (" io . swagger . core . v 3 : swagger - gradle - plugin : 2 . 1 . 1 2 ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ plugin Manager . with Plugin (" io . swagger . core . v 3 . swagger - gradle - plugin ") Ġ{ ĊĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġimplementation (" io . swagger . core . v 3 : swagger - jax rs 2 - jak arta :${ swagger Jax rs 2 Version }") ĊĠĠĠĠĠĠĠ Ġimplementation (" jak arta . ws . rs : jak arta . ws . rs - api :${ rs Api }") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġtasks . with Type < io . swagger . v 3 . plugins . gradle . tasks . Resolve Task > Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġthis Ġis Ġused Ġto Ġscan Ġthe Ġclasspath Ġand Ġgenerate Ġan Ġopen api Ġyaml Ġfile ĊĠĠĠĠĠĠĠ Ġoutput FileName Ġ= Ġ" open Api " ĊĠĠĠĠĠĠĠ Ġoutput Format Ġ= Ġio . swagger . v 3 . plugins . gradle . tasks . Resolve Task . Format . YAML ĊĠĠĠĠĠĠĠ Ġpretty Print Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġclasspath Ġ= Ġjava . source Sets [" main "]. runtime Classpath ĊĠĠĠĠĠĠĠ Ġbuild Classpath Ġ= Ġclasspath ĊĠĠĠĠĠĠĠ Ġresource Packages Ġ= Ġset Of (" org . eclipse . datas pace connector ") ĊĠĠĠĠĠĠĠ Ġoutput Dir Ġ= Ġfile ("${ root Project . project Dir . path }/ openapi ") ĊĠĠĠĠĠĠĠ Ġopen Api File Ġ= Ġfile ("${ root Project . project Dir . path }/ openapi / open Api Info . yaml ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġconfigurations Ġ{ ĊĠĠĠĠĠĠĠ Ġall Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" com . fasterxml . jackson . jax rs ", Ġmodule Ġ= Ġ" jackson - jax rs - json - provider ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } ĊĊ