plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 5 . 3 0 " ĊĠĠĠ Ġid (" application ") ĊĠĠĠ Ġid (" java ") ĊĠĠĠ Ġid (" idea ") ĊĠĠĠ Ġid (" java - library ") ĊĊĠĠĠ Ġ// ĠCreates Ġfat ĠJ AR ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 7 . 0 . 0 " ĊĊĠĠĠ Ġ// ĠAdds Ġdependency Updates Ġtask ĊĠĠĠ Ġid (" com . github . ben - man es . versions ") Ġversion Ġ" 0 . 3 9 . 0 " Ċ } Ċ Ċ extensions . find ByName (" build Scan ") ?. with Gro ovy Builder Ġ{ ĊĠĠĠ Ġset Property (" terms Of Service Url ", Ġ" https :// gradle . com / terms - of - service ") ĊĠĠĠ Ġset Property (" terms Of Service Ag ree ", Ġ" yes ") Ċ } Ċ Ċ idea . module . is Download Sources Ġ= Ġtrue Ċ idea . module . is Download Javadoc Ġ= Ġtrue Ċ Ċ java . toolchain . language Version . set ( Java Language Version . of ( 8 )) Ċ Ċ // ĠRequired Ġfor Ġshadow ĠJ AR Ġbut Ġwe Ġdon 't Ġuse Ġit . ĠCan Ġnot Ġbe Ġreplaced Ġwith Ġapplication . main Class . set . Ċ application . main ClassName Ġ= Ġ" not - necessary " Ċ Ċ val Ġgradle Dependency Version Ġ= Ġ" 7 . 2 " Ċ Ċ tasks . wrapper Ġ{ ĊĠĠĠ Ġgradle Version Ġ= Ġgradle Dependency Version ĊĠĠĠ Ġdistribution Type Ġ= ĠWrapper . Distribution Type . ALL Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġgoogle () ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// jit pack . io ") ĊĠĠĠ Ġ// ĠRequired Ġfor ĠGradle ĠTool ing ĠAPI ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// repo . gradle . org / gradle / libs - releases - local /") Ċ } Ċ Ċ tasks . dist Zip Ġ{ Ġenabled Ġ= Ġfalse Ġ} Ċ tasks . dist Tar Ġ{ Ġenabled Ġ= Ġfalse Ġ} Ċ tasks . shadow Dist Zip Ġ{ Ġenabled Ġ= Ġfalse Ġ} Ċ tasks . shadow Dist Tar Ġ{ Ġenabled Ġ= Ġfalse Ġ} Ċ Ċ tasks . shadow Jar Ġ{ ĊĠĠĠ Ġ// ĠAWS ĠLambda Ġspecific Ġ- Ġfixes Ġ" Status Logger ĠUn recognized Ġformat Ġspec ifier Ġ[ d ]" Ġerrors , Ġfrom Ġhttps :// stackoverflow . com / questions / 4 8 0 3 3 7 9 2 / log 4 j 2 - error - status logger - unrecognized - conversion - specifier ĊĠĠĠ Ġtransform ( com . github . jen gel man . gradle . plugins . shadow . transformers . Log 4 j 2 Plugins Cache File Transformer :: class . java ) Ċ } Ċ Ċ val Ġaws Lambda Java Core Version Ġ= Ġ" 1 . 2 . 1 " Ċ val Ġaws Lambda Java Log 4 j 2 Version Ġ= Ġ" 1 . 2 . 0 " Ċ val Ġlog 4 j Version Ġ= Ġ" 2 . 1 4 . 1 " Ċ val Ġj ack son Version Ġ= Ġ" 2 . 1 2 . 1 " Ċ val Ġv avr Version Ġ= Ġ" 0 . 1 0 . 3 " Ċ val Ġaws Sdk 2 Version Ġ= Ġ" 2 . 1 7 . 3 8 " Ċ val Ġg wt Servlet Version Ġ= Ġ" 2 . 9 . 0 " Ċ val Ġjunit Version Ġ= Ġ" 4 . 1 3 . 2 " Ċ val Ġs lf 4 j Simple Version Ġ= Ġ" 1 . 7 . 3 0 " Ċ val Ġvert x Version Ġ= Ġ" 4 . 0 . 2 " Ċ val Ġj jwt Version Ġ= Ġ" 3 . 1 3 . 0 " Ċ val Ġaws Lambda Servlet Version Ġ= Ġ" 0 . 2 . 4 " Ċ val Ġdagger Version Ġ= Ġ" 2 . 3 8 . 1 " Ċ val Ġresults Iterator For Aws Java Sdk Version Ġ= Ġ" 2 9 . 0 . 2 1 " Ċ val Ġbo unc y Castle Version Ġ= Ġ" 1 . 6 9 " Ċ val Ġaws C dk Construct s For Java Version Ġ= Ġ" 0 . 1 6 . 1 9 " Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġ// ĠD agger Ġcode Ġgeneration ĊĠĠĠ Ġannotation Processor (" com . google . d agger : d agger - compiler :$ d agger Version ") ĊĊĠĠĠ Ġ// ĠDependency Ġinjection Ġwith ĠD agger ĊĠĠĠ Ġapi (" com . google . d agger : d agger :$ d agger Version ") ĊĊĠĠĠ Ġimplementation (" io . v avr : v avr :$ v avr Version ") ĊĠĠĠ Ġimplementation (" io . v avr : v avr - jackson :$ v avr Version ") ĊĊĠĠĠ Ġ// ĠLambda Ġcore Ġand Ġlogging ĊĠĠĠ Ġimplementation (" com . amazonaws : aws - lambda - java - core :$ aws Lambda Java Core Version ") ĊĠĠĠ Ġimplementation (" org . apache . logging . log 4 j : log 4 j - api :$ log 4 j Version ") ĊĠĠĠ Ġimplementation (" org . apache . logging . log 4 j : log 4 j - core :$ log 4 j Version ") ĊĠĠĠ Ġapi (" org . apache . logging . log 4 j : log 4 j - slf 4 j 1 8 - impl :$ log 4 j Version ") ĊĠĠĠ Ġapi (" com . amazonaws : aws - lambda - java - log 4 j 2 :$ aws Lambda Java Log 4 j 2 Version ") ĊĊĠĠĠ Ġ// ĠRequired Ġfor ĠX . 5 0 9 Ġcertificate Ġfeatures ĊĠĠĠ Ġimplementation (" com . github . aw sl abs : results - iterator - for - aws - java - sdk :$ results Iterator For Aws Java Sdk Version ") ĊĊĠĠĠ Ġ// ĠAWS ĠSDK Ġv 2 ĊĠĠĠ Ġimplementation (" software . amazon . aw ssdk : iot :$ aws Sdk 2 Version ") ĊĠĠĠ Ġimplementation (" software . amazon . aw ssdk : apache - client :$ aws Sdk 2 Version ") ĊĊĠĠĠ Ġtest Implementation (" junit : junit :$ junit Version ") ĊĊĠĠĠ Ġ// ĠFor Ġcertificate Ġbased Ġauthentication ĊĠĠĠ Ġimplementation (" org . bouncycastle : bc prov - jdk 1 5 on :$ bounc y Castle Version ") ĊĠĠĠ Ġimplementation (" org . bouncycastle : b cp k ix - jdk 1 5 on :$ bounc y Castle Version ") ĊĊĠĠĠ Ġimplementation (" com . github . aws - samples : aws - cdk - construct s - for - java :$ aws C dk Construct s For Java Version ") ĊĠĠĠ Ġannotation Processor (" com . github . aws - samples : aws - cdk - construct s - for - java :$ aws C dk Construct s For Java Version ") Ċ } Ċ Ċ task (" syn th ", ĠJava Exec :: class ) Ġ{ ĊĠĠĠ Ġclasspath Ġ= Ġsource Sets [" main "]. runtime Classpath ĊĠĠĠ Ġmain Ġ= Ġ" com . aw ss ample s . cross ac co un tp ub lish . Certificate Based Stack " Ċ } Ċ