import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 3 . 1 1 " ĊĠ Ġid (" java - gradle - plugin ") ĊĠ Ġid (" maven - publish ") ĊĠ Ġid (" com . gradle . plugin - publish "). version (" 0 . 1 0 . 0 ") Ċ } Ċ Ċ group Ġ= Ġ" com . red ock . class pat ht o file " Ċ version Ġ= Ġ" 0 . 0 . 1 " Ċ Ċ val Ġcompile Kotlin : ĠKotlin Compile Ġby Ġtasks Ċ compile Kotlin . kotlin Options Ġ{ ĊĠ Ġj vm Target Ġ= Ġ" 1 . 8 " Ċ } Ċ Ċ val Ġcompile Test Kotlin : ĠKotlin Compile Ġby Ġtasks Ċ compile Test Kotlin . kotlin Options Ġ{ ĊĠ Ġj vm Target Ġ= Ġ" 1 . 8 " Ċ } Ċ Ċ repositories Ġ{ ĊĠ Ġmaven Central () Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġcompile Only ( gradle Api ()) ĊĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib : 1 . 3 . 1 1 ") ĊĊĠ Ġtest Compile Only ( gradle Test Kit ()) ĊĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api : 5 . 3 . 1 ") ĊĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - engine : 5 . 3 . 1 ") Ċ } Ċ Ċ plugin Bundle Ġ{ ĊĠ Ġwebsite Ġ= Ġ" https :// github . com / red ock soft / classpath - to - file - gradle - plugin " ĊĠ Ġv cs Url Ġ= Ġ" https :// github . com / red ock soft / classpath - to - file - gradle - plugin . git " ĊĠ Ġtags Ġ= ĠlistOf (" classpath - issue ", Ġ" windows - gradle - long - classpath ", Ġ" java exec - task ", Ġ" create process Ġerror = 2 0 6 ") Ċ } Ċ Ċ gradle Plugin Ġ{ ĊĠ Ġplugins Ġ{ ĊĠĠĠ Ġcreate (" classpath ToFile Plugin ") Ġ{ ĊĠĠĠĠĠ Ġid Ġ= Ġ" com . red ock . class pat ht o file " ĊĠĠĠĠĠ ĠdisplayName Ġ= Ġ" com . red ock . class pat ht o file " ĊĠĠĠĠĠ Ġdescription Ġ= Ġ" Fix Ġfor ĠWindows Ġlong Ġclasspath Ġissue . ĠFor ĠJDK 9 +, Ġfixes ĠJava Exec / Test Ġtasks Ġthat Ġerror Ġwith Ġmessage : Ġ\" Create Process Ġerror = 2 0 6 , ĠThe Ġfilename Ġor Ġextension Ġis Ġtoo Ġlong \"" ĊĠĠĠĠĠ Ġimplementation Class Ġ= Ġ" com . red ock . class pat ht o file . plugin . Classpath ToFile Plugin " ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ Ċ tasks . wrapper Ġ{ ĊĠ Ġdistribution Type Ġ= ĠWrapper . Distribution Type . ALL Ċ } Ċ