/* Ċ Ġ* ĠCopyright Ġ 2 0 2 0 ĠIn tra Find ĠSoftware ĠAG . ĠAll Ġrights Ġreserved . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ // ĠMigrate Ġto ĠKotlin Ġhttps :// guides . gradle . org / migr ating - build - logic - from - groovy - to - kotlin / Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġidea ĊĠĠĠ Ġid (" me . champ e au . gradle . j mh ") Ġversion Ġ" 0 . 5 . 0 " ĊĠĠĠ Ġid (" io . more than . j mh report ") Ġversion Ġ" 0 . 9 . 0 " ĊĠĠĠ Ġid (" org . springframework . boot ") Ġversion Ġ" 2 . 1 . 1 0 . RELEASE " ĊĠĠĠ Ġid (" io . spring . dependency - management ") Ġversion Ġ" 1 . 0 . 9 . RELEASE " ĊĠĠĠ Ġid (" com . google . cloud . tools . j ib ") Ġversion Ġ" 2 . 0 . 0 " Ċ } Ċ Ċ idea Ġ{ ĊĠĠĠ Ġmodule Ġ{ ĊĠĠĠĠĠĠĠ Ġinherit Output Dirs Ġ= Ġtrue ĊĠĠĠ Ġ} Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 1 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 1 Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġval Ġspring Boot Version Ġ= Ġ" 2 . 1 . 1 0 . RELEASE " ĊĠĠĠ Ġval Ġswagger Version Ġ= Ġ" 2 . 9 . 2 " ĊĠĠĠ Ġval Ġt ika Version Ġ= Ġ" 1 . 2 2 " ĊĊĠĠĠ Ġruntime Only (" org . apache . t ika : t ika - parsers :$ t ika Version ") ĊĠĠĠ Ġimplementation (" org . apache . t ika : t ika :$ t ika Version ") ĊĠĠĠ Ġimplementation (" org . springframework . security . oauth . boot : spring - security - oauth 2 - autoconfigure :$ spring Boot Version ") ĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - security :$ spring Boot Version ") ĊĊĠĠĠ Ġimplementation (" edu . uci . ics : crawler 4 j : 4 . 4 . 0 ") ĊĠĠĠ Ġimplementation (" com . github . crawler - commons : crawler - commons : 1 . 0 ") ĊĊĠĠĠ Ġimplementation (" com . rome tools : rome : 1 . 1 2 . 2 ") ĊĊĠĠĠ Ġimplementation (" com . ca u cho : hess ian : 4 . 0 . 6 3 ") ĊĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - web flux :$ spring Boot Version ") ĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - under tow :$ spring Boot Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( module Ġ= Ġ" under tow - websocket s - js r ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġimplementation (" io . spring fox : spring fox - swagger 2 :$ swagger Version ") ĊĠĠĠ Ġimplementation (" io . spring fox : spring fox - swagger - ui :$ swagger Version ") ĊĊĠĠĠ Ġtest Annotation Processor (" org . openjdk . j mh : j mh - generator - ann process : 1 . 2 1 ") ĊĠĠĠ Ġtest Implementation (" org . openjdk . j mh : j mh - core : 1 . 2 1 ") ĊĠĠĠ Ġtest Implementation (" org . springframework . boot : spring - boot - starter - test :$ spring Boot Version ") ĊĊĠĠĠ Ġimplementation (" org . codehaus . groovy : groovy - templates : 3 . 0 . 0 - rc - 1 ") ĊĠĠĠ Ġruntime Only (" org . springframework . boot : spring - boot - devtools :$ spring Boot Version ") ĊĊĠĠĠ Ġimplementation (" com . squareup . okhttp 3 : okhttp : 4 . 2 . 2 ") ĊĠĠĠ Ġimplementation (" org . js oup : js oup : 1 . 1 2 . 1 ") ĊĊĠĠĠ Ġimplementation (" org . m node . m stor : m stor : 1 . 0 . 0 ") ĊĠĠĠ Ġimplementation (" com . google . oauth - client : google - oauth - client - jetty : 1 . 3 0 . 4 ") ĊĠĠĠ Ġimplementation (" com . google . apis : google - api - services - gmail : v 1 - rev 2 0 1 9 0 6 0 2 - 1 . 3 0 . 1 ") Ċ } Ċ Ċ j ib Ġ{ ĊĠĠĠ Ġfrom . image Ġ= Ġ" openjdk : 1 3 - slim - b uster " ĊĠĠĠ Ġcontainer . main Class Ġ= Ġ" com . intr af ind . site search . Application " ĊĠĠĠ Ġto . image Ġ= Ġ" docker - registry . intr af ind . net / intr af ind / sis - site search : tmp " ĊĠĠĠ Ġto . auth . username Ġ= Ġ" site search " ĊĠĠĠ Ġto . auth . password Ġ= ĠSystem . getenv (" PASSWORD ") Ċ } Ċ Ċ j mh Ġ{ ĊĠĠĠ Ġinclude Ġ= ĠlistOf (" Load Test ") ĊĠĠĠ Ġwarm up Iterations Ġ= Ġ 1 ĊĠĠĠ Ġwarm up Fork s Ġ= Ġ 0 ĊĠĠĠ Ġfork Ġ= Ġ 1 ĊĠĠĠ Ġiterations Ġ= Ġ 3 ĊĠĠĠ Ġresult Format Ġ= Ġ" JSON " ĊĠĠĠ Ġthreads Ġ= Ġ 2 0 ĊĠĠĠ Ġfail OnError Ġ= Ġtrue Ċ } Ċ