import Ġcom . github . ben man es . gradle . versions . updates . Dependency Updates Task Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ val Ġkotlin Version Ġ= Ġ" 1 . 4 . 3 2 " Ċ val Ġk tor Version Ġ= Ġ" 1 . 5 . 3 " Ċ val Ġrdf 4 j Version Ġ= Ġ" 3 . 6 . 3 " Ċ Ċ group Ġ= Ġ" com . bit kid " Ċ version Ġ= Ġ" 0 . 0 . 2 " Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 4 . 3 2 " ĊĠĠĠ Ġ` maven - publish ` ĊĠĠĠ Ġid (" com . github . ben - man es . versions ") Ġversion Ġ" 0 . 3 8 . 0 " Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ Ċ tasks . with Type < Kotlin Compile >(). configure Each Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 4 " ĊĠĠĠ Ġkotlin Options . free Compiler Args Ġ+= ĠlistOf ("- X use - experimental = kotlin x . coroutines . Experimental Cor outines Api ") Ċ } Ċ Ċ val Ġsources Jar Ġby Ġtasks . creating ( Jar :: class ) Ġ{ ĊĠĠĠ Ġarchive Classifier . set (" sources ") ĊĠĠĠ Ġfrom ( source Sets . get ByName (" main "). all Source ) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - apache :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - auth - jvm :$ ktor Version ") ĊĠĠĠ Ġimplementation (" com . fasterxml : a al to - xml : 1 . 2 . 2 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - collections - immutable - jvm : 0 . 3 . 4 ") ĊĠĠĠ Ġimplementation (" org . eclipse . rdf 4 j : rdf 4 j - repository - spar ql :$ rdf 4 j Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude (" org . eclipse . rdf 4 j ", Ġ" rdf 4 j - http - client ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġtest Implementation (" org . eclipse . rdf 4 j : rdf 4 j - http - client :$ rdf 4 j Version ") ĊĠĠĠ Ġtest Implementation (" org . eclipse . rdf 4 j : rdf 4 j - query result io - text :$ rdf 4 j Version ") ĊĠĠĠ Ġtest Implementation (" ch . qos . log back : log back - classic : 1 . 2 . 3 ") ĊĠĠĠ Ġtest Implementation (" io . project reactor . tools : block h ound : 1 . 0 . 6 . RELEASE ") ĊĠĠĠ Ġtest Implementation (" io . stri kt : stri kt - core :+ ") ĊĠĠĠ Ġtest Implementation (" io . ktor : ktor - server - netty :$ ktor Version ") ĊĊĠĠĠ Ġtest Implementation (" org . apache . jena : jena - fuse ki - embedded : 3 . 8 . 0 ") ĊĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api :+ ") ĊĠĠĠ Ġtest Runtime Only (" org . junit . jupiter : junit - jupiter - engine :+ ") ĊĠĠĠ Ġtest Runtime Only (" org . junit . platform : junit - platform - launcher :+ ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" junit ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . named < Dependency Updates Task >(" dependency Updates ") Ġ{ ĊĠĠĠ Ġval Ġfiltered Ġ= ĊĠĠĠĠĠĠĠ ĠlistOf (" alpha ", Ġ" beta ", Ġ" rc ", Ġ" cr ", Ġ" m ", Ġ" preview ", Ġ" dev ", Ġ" e ap ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. map Ġ{ Ġqualifier Ġ-> ĠRegex (" (? i ). *[ .- ]$ qual ifier [ .\\ d - ]* .* ") Ġ} ĊĠĠĠ Ġresolution Strategy Ġ{ ĊĠĠĠĠĠĠĠ Ġcomponent Selection Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġall Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( filtered . any Ġ{ Ġit . matches ( candidate . version ) Ġ}) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġreject (" Release Ġcandidate ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġcheck For Gradle Update Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġoutput Formatter Ġ= Ġ" json " ĊĠĠĠĠĠĠĠ Ġoutput Dir Ġ= Ġ" build / dependency Updates " ĊĠĠĠĠĠĠĠ Ġreport fileName Ġ= Ġ" report " ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < Test >(). configure Each Ġ{ ĊĠĠĠ Ġuse JUnit Platform () Ċ } ĊĊ