plugins Ġ{ ĊĠĠĠ Ġid (" java - library ") ĊĠĠĠ Ġid (" kotlin ") ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . serialization ") Ċ } Ċ Ċ val ĠLIB _ AR TI FACT _ ID Ġby Ġextra (" pers ista ") Ċ val ĠLIB _ DESCRIPTION Ġby Ġextra (" persist Ġsingle Ġinstances Ġof Ġkotlin Ġdata Ġclasses ") Ċ Ċ println (" [$ LIB _ AR TI FACT _ ID Ġbuild Ġfile ]") Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" co . early . fore : fore - kt - core : 1 . 5 . 4 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 8 : 1 . 5 . 3 1 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - core : 1 . 4 . 2 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - serialization - json : 1 . 1 . 0 ") ĊĊĠĠĠ Ġtest Implementation (" junit : junit : 4 . 1 3 . 2 ") ĊĠĠĠ Ġtest Implementation (" io . mock k : mock k : 1 . 1 1 . 0 ") Ċ } Ċ Ċ apply ( from Ġ= Ġ"../ publish - lib . gradle . k ts ") Ċ