import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") ĊĠĠĠ Ġkotlin (" jvm ") Ċ } ĊĊ Ċ tasks . with Type < com . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar > Ġ{ ĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( dependency (" org . apache . flink : flink - java : .* ")) ĊĠĠĠĠĠĠĠ Ġexclude ( dependency (" org . apache . flink : flink - streaming - java _. *: .* ")) ĊĠĠĠĠĠĠĠ Ġexclude ( dependency (" org . apache . flink : flink - clients _. *: .* ")) ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġval Ġscala Binary Version : ĠString Ġby Ġproject ĊĠĠĠ Ġval Ġf link Version : ĠString Ġby Ġproject ĊĠĠĠ Ġval Ġjunit Version : ĠString Ġby Ġproject ĊĠĠĠ Ġval Ġh ive Version : ĠString Ġby Ġproject ĊĠĠĠ Ġval Ġhadoop Version : ĠString Ġby Ġproject ĊĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - java ", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - streaming - java _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - clients _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - connector - kafka _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - api - java ", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - common ", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - api - java - bridge _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - planner _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - planner - blink _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - table - runtime - blink _${ scala Binary Version }", Ġf link Version ) Ċ // ĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - cep _${ scala Binary Version }", Ġ"${ flink Version }_ reform ") ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - cep _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - state backend - ro cksdb _${ scala Binary Version }", Ġf link Version ) ĊĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - sql - connector - hive -${ hive Version }_${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġimplementation (" org . apache . flink ", Ġ" flink - sh aded - hadoop - 2 - uber ", Ġ" 2 . 4 . 1 - 1 0 . 0 ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude (" org . slf 4 j ", Ġ" slf 4 j - log 4 j 1 2 ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġimplementation (" ch . qos . log back ", Ġ" log back - classic ") ĊĠĠĠ Ġimplementation (" ch . qos . log back ", Ġ" log back - core ") ĊĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . core ", Ġ" jackson - databind ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . datatype ", Ġ" jackson - datatype - jdk 8 ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . datatype ", Ġ" jackson - datatype - js r 3 1 0 ") ĊĊĠĠĠ Ġtest Implementation (" org . apache . flink ", Ġ" flink - test - utils - junit ", Ġf link Version ) ĊĠĠĠ Ġtest Implementation (" org . apache . flink ", Ġ" flink - test - utils _${ scala Binary Version }", Ġf link Version ) ĊĠĠĠ Ġtest Implementation (" junit ", Ġ" junit ", Ġjunit Version ) ĊĠĠĠ Ġimplementation ( kotlin (" stdlib - jdk 8 ")) Ċ } Ċ Ċ 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 " Ċ }