package Ġio . kot less . plugin . gradle . utils . gradle Ċ Ċ import Ġcom . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar Ċ import Ġorg . gradle . api . Project Ċ import Ġorg . gradle . api . Task Ċ import Ġorg . gradle . api . plugins . Extra Properties Extension Ċ import Ġorg . gradle . api . tasks . Source Set Container Ċ import Ġorg . gradle . api . tasks . Task Container Ċ import Ġorg . gradle . kotlin . dsl . Dependency Handler Scope Ċ import Ġorg . gradle . kotlin . dsl . access ors . runtime . add External Module Dependency To Ċ import Ġorg . gradle . kotlin . dsl . get ByName Ċ import Ġorg . jetbrains . kotlin . incremental . is Kotlin File Ċ import Ġjava . io . File Ċ Ċ // Generated Ġaccessors Ġto Ġuse Ġin Ġa Ġplugin Ċ internal Ġinline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠProject . my Ext ByName ( name : ĠString ): ĠT Ġ= Ġextensions . get ByName < T >( name ) Ċ Ċ internal Ġinline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠProject . my Ext ( name : ĠString ) Ġ= Ġmy Ext [ name ] Ġas ĠT Ċ Ċ internal Ġval ĠProject . my Ext : ĠExtra Properties Extension ĊĠĠĠ Ġget () Ġ= Ġmy Ext ByName (" ext ") Ċ Ċ internal Ġval ĠProject . my Source Sets : ĠSource Set Container ĊĠĠĠ Ġget () Ġ= Ġmy Ext ByName (" source Sets ") Ċ Ċ internal Ġval ĠProject . my Kt Source Set : ĠSet < File > ĊĠĠĠ Ġget () Ġ= Ġmy Source Sets . as Map [" main "] !!. all Source . files . filter Ġ{ Ġit . is Kotlin File ( source Files Extensions Ġ= ĠlistOf (" kt ")) Ġ}. toSet () Ċ Ċ internal Ġval ĠProject . my Resources Set : ĠSet < File > ĊĠĠĠ Ġget () Ġ= Ġmy Source Sets . as Map [" main "] !!. resources . files . toSet () Ċ Ċ internal Ġinline Ġfun Ġ< re ified ĠT Ġ: ĠTask > ĠTask Container . my Create ( name : ĠString , Ġcross inline Ġconfigure : ĠT . () Ġ-> ĠUnit Ġ= Ġ{} ): ĠT Ġ= Ġcreate ( name , ĠT :: class . java ) Ġ{ ĊĠĠĠ Ġconfigure ( it ) Ċ } Ċ Ċ internal Ġfun ĠProject . my Shadow Jar ( name : ĠString Ġ= Ġ" shadow Jar "): ĠShadow Jar Ġ= Ġtasks . my Get ByName ( name ) Ċ Ċ internal Ġinline Ġfun Ġ< re ified ĠT Ġ: ĠTask > ĠTask Container . my Get ByName ( name : ĠString ) Ġ= Ġget ByName ( name ) Ġas ĠT Ċ Ċ internal Ġconst Ġval Ġmy Local Configuration Name Ġ= Ġ" kot less - local " Ċ Ċ internal Ġfun ĠProject . my Local () Ġ= Ġthis . configurations . get ByName ( my Local Configuration Name ) Ċ Ċ internal Ġfun ĠDependency Handler Scope . my Local ( group : ĠString , Ġname : ĠString , Ġversion : ĠString ) Ġ{ ĊĠĠĠ Ġadd External Module Dependency To ( this , Ġmy Local Configuration Name , Ġgroup , Ġname , Ġversion , Ġnull , Ġnull , Ġnull , Ġnull ) Ċ } Ċ