import Ġorg . jetbrains . compose . compose Ċ import Ġorg . jetbrains . compose . desktop . application . dsl . Target Format Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 6 . 1 0 " ĊĠĠĠ Ġid (" org . jetbrains . compose ") Ġversion Ġ" 1 . 1 . 0 - alpha 0 4 " ĊĠĠĠ Ġid (" com . google . devtools . k sp ") Ġversion (" 1 . 6 . 1 0 - 1 . 0 . 2 ") Ċ // ĠĠĠ Ġid (" com . squareup . sql de light ") Ġversion Ġ" 1 . 5 . 3 " Ċ } Ċ group Ġ= Ġ" me . lif ly " Ċ version Ġ= Ġ" 1 . 0 " Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġgoogle () ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven (" https :// maven . pkg . jetbrains . space / public / p / compose / dev ") Ċ } Ċ Ċ val Ġexposed Version : ĠString Ġby Ġproject Ċ val Ġde compose Version Ġ= Ġ" 0 . 5 . 1 " Ċ val Ġk tor _ version Ġ= Ġ" 2 . 0 . 0 - beta - 1 " Ċ val Ġobject box Version Ġ= Ġ" 3 . 1 . 1 " Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( compose . desktop . current Os ) ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - core - jvm : 1 . 6 . 0 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . compose . material 3 : material 3 : 1 . 1 . 0 - alpha 0 4 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . compose . material : material - icons - extended : 1 . 1 . 0 - alpha 0 4 ") ĊĠĠĠ Ġimplementation (" com . ark iv an ov . de compose : de compose :$ de compose Version ") ĊĠĠĠ Ġimplementation (" com . ark iv an ov . de compose : extensions - compose - jetbrains :$ de compose Version ") ĊĠĠĠ Ġimplementation (" com . squareup . mos hi : mos hi : 1 . 1 3 . 0 ") ĊĠĠĠ Ġk sp (" com . squareup . mos hi : mos hi - kotlin - codegen : 1 . 1 3 . 0 ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - c io :$ ktor _ version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - gson :$ ktor _ version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - logging :$ ktor _ version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - content - neg otiation :$ ktor _ version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - serialization - gson :$ ktor _ version ") ĊĠĠĠ Ġimplementation Ġ(" io . github . micro utils : kotlin - logging : 2 . 1 . 2 1 ") ĊĠĠĠ Ġimplementation (" org . slf 4 j : slf 4 j - simple : 1 . 7 . 3 6 ") ĊĠĠĠ Ġimplementation (" org . jetbrains . ex posed : ex posed - core :$ ex posed Version ") ĊĠĠĠ Ġimplementation (" org . jetbrains . ex posed : ex posed - dao :$ ex posed Version ") ĊĠĠĠ Ġimplementation (" org . jetbrains . ex posed : ex posed - jdbc :$ ex posed Version ") ĊĠĠĠ Ġimplementation (" org . x erial : sqlite - jdbc : 3 . 3 6 . 0 . 2 ") Ċ // ĠĠĠ Ġimplementation Ġ(" com . squareup . sql de light : sqlite - driver : 1 . 5 . 3 ") Ċ Ċ } Ċ Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 6 " ĊĠĠĠ Ġkotlin Options . free Compiler Args Ġ+= Ġ"- X opt - in = kotlin . Requires Opt In " Ċ } Ċ Ċ compose . desktop Ġ{ ĊĠĠĠ Ġapplication Ġ{ ĊĠĠĠĠĠĠĠ Ġmain Class Ġ= Ġ" Main Kt " ĊĠĠĠĠĠĠĠ Ġnative Dist ributions Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtarget Formats ( Target Format . D mg , ĠTarget Format . M si , ĠTarget Format . Deb , ĠTarget Format . Exe ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinclude All Modules Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠ ĠpackageName Ġ= Ġ" Schedule Desktop " ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpackage Version Ġ= Ġ" 1 . 0 . 2 " ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlinux { ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġicon File . set ( File (" ic _ launcher - play store . png ")) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwindows { ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġdir Chooser Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġshortcut Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġper User Install Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġicon File . set ( File (" ic _ win . ico ")) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }