plugins Ġ{ Ċ ĉ ` java - gradle - plugin ` Ċ ĉ id (" com . gradle . plugin - publish ") Ġversion Ġ" 0 . 1 4 . 0 " Ċ ĉ id (" org . sonar q ube ") Ġversion Ġ" 3 . 1 . 1 " Ċ ĉ kotlin (" jvm ") Ġversion Ġ" 1 . 4 . 3 1 " Ċ ĉ ` maven - publish ` Ċ ĉ id (" com . github . ben - man es . versions ") Ġversion Ġ" 0 . 3 8 . 0 " Ċ ĉ id (" io . gitlab . art urb os ch . de te kt ") Ġversion Ġ" 1 . 1 6 . 0 " Ċ } Ċ Ċ group Ġ= Ġ" org . spring doc " Ċ version Ġ= Ġ" 1 . 3 . 4 - SNAPSHOT " Ċ Ċ sonar q ube Ġ{ Ċ ĉ properties Ġ{ Ċĉ ĉ property (" sonar . project Key ", Ġ" spring doc _ spring doc - openapi - gradle - plugin ") Ċ ĉ } Ċ } Ċ repositories Ġ{ Ċ ĉ maven Central () Ċ ĉ maven Ġ{ Ċĉ ĉ name Ġ= Ġ" Spring ĠRe positories " Ċĉ ĉ url Ġ= Ġuri (" https :// repo . spring . io / libs - release /") Ċ ĉ } Ċ ĉ gradle Plugin Portal () Ċ } Ċ Ċ publishing Ġ{ Ċ ĉ repositories Ġ{ Ċĉ ĉ maven Ġ{ Ċĉĉ ĉ // Ġchange ĠURLs Ġto Ġpoint Ġto Ġyour Ġrepos , Ġe . g . Ġhttp :// my . org / repo Ċĉĉ ĉ val Ġreleases Repo Url Ġ= Ġuri (" https :// oss . son atype . org / service / local / staging / deploy / maven 2 /") Ċĉĉ ĉ val Ġsnapshots Repo Url Ġ= Ġuri (" https :// oss . son atype . org / content / repositories / snapshots ") Ċĉĉ ĉ url Ġ= Ġif Ġ( version . toString (). endsWith (" SNAPSHOT ")) Ġsnapshots Repo Url Ġelse Ġreleases Repo Url Ċĉĉ ĉ credentials Ġ{ Ċĉĉĉ ĉ username Ġ= ĠSystem . getenv (" OSS RH _ USER ") Ċĉĉĉ ĉ password Ġ= ĠSystem . getenv (" OSS RH _ PASS ") Ċĉĉ ĉ } Ċĉ ĉ } Ċ ĉ } Ċ } Ċ Ċ dependencies Ġ{ Ċ ĉ implementation ( kotlin (" reflect ")) Ċ ĉ implementation (" k http : k http : 1 . 0 . 0 ") Ċ ĉ implementation (" com . google . code . gson : gson : 2 . 8 . 6 ") Ċ ĉ implementation (" org . await ility : await ility - kotlin : 4 . 0 . 3 ") Ċ ĉ implementation ( files ("$ project Dir / libs / gradle - processes - 0 . 5 . 0 . jar ")) ĊĊ ĉ test Implementation ( gradle Test Kit ()) Ċ ĉ test Implementation ( platform (" org . junit : junit - bom : 5 . 7 . 1 ")) Ċ ĉ test Implementation (" org . junit . jupiter : junit - jupiter ") Ċ ĉ test Implementation (" com . be ust : kl ax on : 5 . 5 ") ĊĊ ĉ de te kt Plugins (" io . gitlab . art urb os ch . de te kt : de te kt - formatting : 1 . 1 6 . 0 ") Ċ } Ċ Ċ gradle Plugin Ġ{ Ċ ĉ plugins Ġ{ Ċĉ ĉ create (" spring doc - gradle - plugin ") Ġ{ Ċĉĉ ĉ id Ġ= Ġ" org . spring doc . openapi - gradle - plugin " Ċĉĉ ĉ displayName Ġ= Ġ" A ĠGradle Ġplugin Ġfor Ġthe Ġspring doc - openapi Ġlibrary " Ċĉĉ ĉ description Ġ= Ġ" ĠThis Ġplugin Ġuses Ġspring doc - openapi Ġto Ġgenerate Ġan ĠOpenAPI Ġdescription Ġat Ġbuild Ġtime " Ċĉĉ ĉ implementation Class Ġ= Ġ" org . spring doc . openapi . gradle . plugin . Open Api Gradle Plugin " Ċĉ ĉ } Ċ ĉ } Ċ } Ċ Ċ plugin Bundle Ġ{ Ċ ĉ website Ġ= Ġ" https :// github . com / spring doc / spring doc - openapi - gradle - plugin " Ċ ĉ vcs Url Ġ= Ġ" https :// github . com / spring doc / spring doc - openapi - gradle - plugin . git " Ċ ĉ tags Ġ= ĠlistOf (" spring doc ", Ġ" openapi ", Ġ" swagger ") Ċ } Ċ Ċ val Ġj vm Version : ĠJava Language Version Ġ= ĠJava Language Version . of ( 8 ) Ċ Ċ tasks . with Type < org . jetbrains . kotlin . gradle . tasks . Kotlin Compile > Ġ{ Ċ ĉ kotlin Options Ġ{ Ċĉ ĉ jvm Target Ġ= Ġ" 1 .${ jvm Version . toString () }" Ċ ĉ } Ċ } Ċ Ċ tasks . with Type < Test >(). configure Each Ġ{ Ċ ĉ use JUnit Platform () Ċ ĉ max Parallel Fork s Ġ= Ġ( Runtime . get Runtime (). available Processors () Ġ/ Ġ 2 ). take If Ġ{ Ġit Ġ> Ġ 0 Ġ} Ġ?: Ġ 1 Ċ } Ċ Ċ de te kt Ġ{ Ċ ĉ config Ġ= Ġfiles (" config / de te kt / de te kt . yml ") Ċ ĉ parallel Ġ= Ġtrue Ċ } Ċ tasks . with Type < io . gitlab . art urb os ch . de te kt . Det ek t >(). configure Each Ġ{ Ċ ĉ jvm Target Ġ= Ġ" 1 .${ jvm Version . toString () }" Ċ } Ċ