import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 4 . 1 0 " ĊĠĠĠ Ġmaven Ċ } Ċ Ċ group Ġ= Ġ" de . fh do . lemma . analyzer " Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven Local () Ċ } Ċ Ċ build script Ġ{ ĊĠĠĠ Ġextra . set (" class graph Version ", Ġ" 4 . 8 . 3 5 ") ĊĠĠĠ Ġextra . set (" groovy Version ", Ġ" 3 . 0 . 3 ") ĊĠĠĠ Ġextra . set (" j ansi Version ", Ġ" 1 . 1 7 . 1 ") ĊĠĠĠ Ġextra . set (" j gr ap ht Version ", Ġ" 1 . 5 . 0 ") ĊĠĠĠ Ġextra . set (" lemma Ec lipse Plugins Version ", Ġversion ) ĊĠĠĠ Ġextra . set (" log 4 j Version ", Ġ" 2 . 1 1 . 2 ") ĊĠĠĠ Ġextra . set (" logging Version ", Ġ" 1 . 7 . 9 ") ĊĠĠĠ Ġextra . set (" lsp 4 j Version ", Ġ" 0 . 1 0 . 0 ") ĊĠĠĠ Ġextra . set (" model Processing Version ", Ġversion ) ĊĠĠĠ Ġextra . set (" pic oc li Version ", Ġ" 3 . 9 . 3 ") ĊĠĠĠ Ġextra . set (" x text Version ", Ġ" 2 . 2 5 . 0 ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġval Ġclass graph Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġgro ovy Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġj ansi Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġj gr ap ht Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġlog 4 j Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġlogging Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġlemma Ec lipse Plugins Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġlsp 4 j Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġmodel Processing Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġpic oc li Version : ĠString Ġby Ġroot Project . extra ĊĠĠĠ Ġval Ġx text Version : ĠString Ġby Ġroot Project . extra ĊĊĠĠĠ Ġimplementation ( kotlin (" stdlib ")) ĊĠĠĠ Ġimplementation ( kotlin (" reflect ")) ĊĊĠĠĠ Ġimplementation (" de . fh do . lemma . analyzer : de . fh do . lemma . analyzer . lib :$ lemma Ec lipse Plugins Version ") ĊĠĠĠ Ġimplementation (" de . fh do . lemma . data . dat ad sl : de . fh do . lemma . data . dat ad sl :$ lemma Ec lipse Plugins Version ") ĊĠĠĠ Ġimplementation (" de . fh do . lemma . intermediate : de . fh do . lemma . data . intermediate . met amodel :$ lemma Ec lipse Plugins Version ") ĊĠĠĠ Ġimplementation (" de . fh do . lemma . intermediate : de . fh do . lemma . service . intermediate . met amodel :" Ġ+ ĊĠĠĠĠĠĠĠ Ġlemma Ec lipse Plugins Version ) ĊĠĠĠ Ġimplementation (" de . fh do . lemma . model _ processing : de . fh do . lemma . model _ processing :$ model Processing Version ") ĊĠĠĠ Ġimplementation (" de . fh do . lemma . model _ processing . utils : de . fh do . lemma . model _ processing . utils :$ model Processing Version ") ĊĠĠĠ Ġimplementation (" de . fh do . lemma . serv iced sl : de . fh do . lemma . serv iced sl :$ lemma Ec lipse Plugins Version ") ĊĠĠĠ Ġimplementation (" info . pic oc li : pic oc li :$ pic oc li Version ") ĊĠĠĠ Ġimplementation (" io . github . class graph : class graph :$ class graph 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 ") ĊĠĠĠ Ġimplementation (" org . apache . logging . log 4 j : log 4 j - slf 4 j - impl :$ log 4 j Version ") ĊĠĠĠ Ġimplementation (" io . github . micro utils : kotlin - logging :$ logging Version ") ĊĠĠĠ Ġ// ĠRequired Ġby Ġlog 4 j Ġ( Gro ovy Ġexecution Ġengine ) ĊĠĠĠ Ġimplementation (" org . codehaus . groovy : groovy - js r 2 2 3 :$ groovy Version ") ĊĠĠĠ Ġimplementation (" org . j gr ap ht : j gr ap ht - core :$ j gr ap ht Version ") ĊĠĠĠ Ġimplementation (" org . eclipse . lsp 4 j : org . eclipse . lsp 4 j :$ lsp 4 j Version ") ĊĠĠĠ Ġimplementation (" org . eclipse . lsp 4 j : org . eclipse . lsp 4 j . jsonrpc :$ lsp 4 j Version ") ĊĠĠĠ Ġimplementation (" org . eclipse . x text : org . eclipse . x text . ecore :$ x text Version ") ĊĠĠĠ Ġimplementation (" org . fuse source . j ansi : j ansi :$ j ansi Version ") Ċ } Ċ Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 1 " Ċ } Ċ Ċ tasks . with Type < Jar > Ġ{ ĊĠĠĠ Ġmanifest Ġ{ ĊĠĠĠĠĠĠĠ Ġattributes (" Main - Class " Ġto Ġ" de . fh do . lemma . analyzer . Analyzer ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ /** Ċ Ġ* Ġstandalone Ġtask Ġto Ġcreate Ġa Ġstandalone Ġrunnable ĠJ AR Ġof Ġthe ĠStatic ĠAnalyzer Ċ Ġ*/ Ċ val Ġstandalone Ġ= Ġtask (" standalone ", Ġtype Ġ= ĠJar :: class ) Ġ{ ĊĠĠĠ Ġarchive Classifier . set (" standalone ") ĊĊĠĠĠ Ġ// ĠBuild Ġfat ĠJ AR ĊĠĠĠ Ġfrom ( configurations . compile Classpath . get (). filter { Ġit . exists () Ġ}. map Ġ{ Ġif Ġ( it . isDirectory ) Ġit Ġelse Ġzip Tree ( it ) Ġ}) ĊĠĠĠ Ġwith ( tasks [" jar "] Ġas ĠCopy Spec ) ĊĊĠĠĠ Ġmanifest Ġ{ ĊĠĠĠĠĠĠĠ Ġattributes (" Main - Class " Ġto Ġ" de . fh do . lemma . analyzer . Analyzer Kt ") ĊĊĠĠĠĠĠĠĠ Ġ// ĠPrevent Ġsecurity Ġexception Ġfrom ĠJ AR Ġverifier ĊĠĠĠĠĠĠĠ Ġexclude (" META - INF /*. D SA ", Ġ" META - INF /*. RSA ", Ġ" META - INF /*. SF ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ // ĠMark Ġstandalone Ġto Ġbe Ġproduced Ġby Ġbuild Ġprocesses Ġby Ġdefault Ċ artifacts Ġ{ ĊĠĠĠ Ġadd (" archives ", Ġstandalone ) Ċ }