Ċ apply ( from Ġ= Ġ"../ gradle / kotlin . gradle ") Ċ apply ( from Ġ= Ġ"../ gradle / bin tray . gradle ") Ċ apply ( from Ġ= Ġ"../ gradle / dok ka . gradle ") Ċ Ċ val Ġcompile Test Kotlin : Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ġby Ġtasks Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġjava Ċ } Ċ Ċ // ĠIMPORT ANT : ĠRequired Ġfor Ġcompiling Ġclasses Ġin Ġtest Ġdependencies . ĠIt Ġ* MUST * Ġbe Ġbefore Ġdependencies Ċ compile Test Kotlin . depends On ( tasks . getBy Path (": port _ http _ client : compile Test Kotlin ")) Ċ Ċ val Ġentity Tests : ĠSource Set Output Ġ= Ġproject (": port _ http _ client "). source Sets [" test "]. output Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġ" api "( project (": port _ http _ client ")) ĊĠĠĠ Ġ" api " (" org . as yn ch ttp client : async - http - client :${ properties [" ah c Version "] }") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( module Ġ= Ġ" slf 4 j - api ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ" test Implementation "( project (": http _ server _ jetty ")) ĊĠĠĠ Ġ" test Implementation "( entity Tests ) Ċ } Ċ