content: [versions]
  agp = "7.3.1"
  compose-jb = "1.3.0-rc01"
  kotlin = "1.7.20"
  ksp = "1.7.20-1.0.8"
  kotlinx-coroutines = "1.6.4"
  kotlinx-serialization = "1.4.1"
  koin = "3.3.2"
  koin-annotations = "1.0.3.11"
  ktor = "2.2.1"
  okio = "3.2.0"
  okhttp = "4.10.0"
  retrofit2 = "2.9.0"
  sqldelight = "1.5.4"
  spotless = "6.11.0"
  ktlint = "0.46.1"
  detekt = "1.22.0-RC2"
  datastore = "1.1.0-alpha01"
  moko = "0.20.1"
  accompanist = "0.28.0"
  accompanist-jb = "0.25.2"
  pagging = "3.2.0-alpha03"
  room = "2.5.0-rc01"
  exoplayer = "2.18.2"
  
  [plugins]
  android-application = { id = "com.android.application", version.ref = "agp" }
  android-library = { id = "com.android.library", version.ref = "agp" }
  kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
  kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
  ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
  
  sqldelight = { id = "com.squareup.sqldelight", version.ref = "sqldelight" }
  buildkonfig = { id = "com.codingfeline.buildkonfig", version = "0.13.3" }
  multiplatformResources = { id = "dev.icerock.mobile.multiplatform-resources", version.ref = "moko" }
  javafx = { id = "org.openjfx.javafxplugin", version = "0.0.13" }
  
  [libraries]
  gradlePlugin-android = { module = "com.android.tools.build:gradle", version.ref = "agp" }
  gradlePlugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
  gradlePlugin-compose = { module = "org.jetbrains.compose:compose-gradle-plugin", version.ref = "compose-jb" }
  gradlePlugin-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" }
  gradlePlugin-detekt = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" }
  gradlePlugin-versionsCheck = { module = "com.github.ben-manes:gradle-versions-plugin", version = "0.43.0" }
  gradlePlugin-gms = { module = "com.google.gms:google-services", version = "4.3.14" }
  gradlePlugin-firebase = { module = "com.google.firebase:firebase-crashlytics-gradle", version = "2.9.2" }
  gradlePlugin-firebaseAppdistribution = { module = "com.google.firebase:firebase-appdistribution-gradle", version = "3.1.0" }
  
  kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
  kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
  kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
  kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinx-coroutines" }
  kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
  kotlinx-serialization-protobuf = { module = "org.jetbrains.kotlinx:kotlinx-serialization-protobuf", version.ref = "kotlinx-serialization" }
  kotlinx-datatime = "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0"
  kotlinx-collections-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5"
  
  koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" }
  koin-test = { module = "io.insert-koin:koin-test", version.ref = "koin" }
  koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" }
  koin-androidx-workmanager = { module = "io.insert-koin:koin-androidx-workmanager", version.ref = "koin" }
  koin-annotations = { module = "io.github.qdsfdhvh:koin-annotations", version.ref = "koin-annotations" }
  koin-annotations-ksp = { module = "io.github.qdsfdhvh:koin-ksp-compiler", version.ref = "koin-annotations" }
  
  ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
  ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
  ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
  ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
  #ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
  ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
  
  square-okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
  square-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
  square-okhttp-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp" }
  square-retforit2 = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit2" }
  square-retforit2-converter-scalars = { module = "com.squareup.retrofit2:converter-scalars", version.ref = "retrofit2" }
  square-retrofit2-kotlinx-serialization-converter = "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
  
  sqldelight-android-driver = { module = "com.squareup.sqldelight:android-driver", version.ref = "sqldelight" }
  sqldelight-sqlite-driver = { module = "com.squareup.sqldelight:sqlite-driver", version.ref = "sqldelight" }
  #sqldelight-native-driver = { module = "com.squareup.sqldelight:native-driver", version.ref = "sqldelight" }
  sqldelight-coroutines-extensions = { module = "com.squareup.sqldelight:coroutines-extensions", version.ref = "sqldelight" }
  
  androidx-datastore = { module = "androidx.datastore:datastore-core", version.ref = "datastore" }
  androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastore" }
  androidx-pagging = { module = "androidx.paging:paging-common", version.ref = "pagging" }
  
  androidx-core-ktx = "androidx.core:core-ktx:1.9.0"
  androidx-activity-ktx = "androidx.activity:activity-ktx:1.7.0-alpha02"
  androidx-activity-compose = "androidx.activity:activity-compose:1.6.1"
  androidx-work-rumtime-ktx = "androidx.work:work-runtime-ktx:2.8.0-rc01"
  androidx-exifinterface = "androidx.exifinterface:exifinterface:1.3.5"
  androidx-startup = "androidx.startup:startup-runtime:1.2.0-alpha01"
  androidx-browser = "androidx.browser:browser:1.5.0-alpha02"
  androidx-vectordrawable = "androidx.vectordrawable:vectordrawable:1.2.0-beta01"
  
  androidx-test-arch-core = "androidx.arch.core:core-testing:2.1.0"
  androidx-test-core = "androidx.test:core:1.5.0"
  androidx-test-runner = "androidx.test:runner:1.5.1"
  androidx-test-ext = "androidx.test.ext:junit-ktx:1.1.4"
  androidx-test-espresso-core = "androidx.test.espresso:espresso-core:3.5.0"
  
  compose-precompose = "moe.tlaster:precompose:1.3.13"
  compose-precompose-annotation = "io.github.qdsfdhvh:precompose-annotation:1.0.2"
  compose-precompose-ksp = "io.github.qdsfdhvh:precompose-ksp:1.0.2"
  compose-imageloader = "io.github.qdsfdhvh:image-loader:1.2.7"
  compose-imageloader-batik = "io.github.qdsfdhvh:image-loader-batik:1.2.7"
  #compose-paging = "io.github.qdsfdhvh:paging:1.0.4"
  compose-safearea = "moe.tlaster:safearea:0.1.3"
  compose-accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" }
  
  room-rumtime = { module = "androidx.room:room-runtime", version.ref = "room" }
  room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
  room-pagging = { module = "androidx.room:room-paging", version.ref = "room" }
  room-test = { module = "androidx.room:room-testing", version.ref = "room" }
  room-ksp = { module = "androidx.room:room-compiler", version.ref = "room" }
  
  exoplayer = { module = "com.google.android.exoplayer:exoplayer", version.ref = "exoplayer" }
  exoplayer-extension-okhttp = { module = "com.google.android.exoplayer:extension-okhttp", version.ref = "exoplayer" }
  
  jetbrains-markdown = "org.jetbrains:markdown:0.3.3"
  
  mokoResources = { module = "dev.icerock.moko:resources", version.ref = "moko" }
  #bignum = "com.ionspin.kotlin:bignum:0.3.7"
  kfilepicker = "moe.tlaster:KFilePicker:1.0.5"
  twitterParser = "moe.tlaster:twitter-parser:0.1.3"
  #kWalletConnect = "io.github.joesteven:kwalletconnect:1.0.3-dev"
  twitterComposeRulesDetekt = "com.twitter.compose.rules:detekt:0.0.26"
  #krypto = "com.soywiz.korlibs.krypto:krypto:3.4.0"
  #kVideoplayer = "io.github.joesteven:kvideoplayer:1.0.1-dev03"
  cache4k = "io.github.reactivecircus.cache4k:cache4k:0.9.0"
  jodaTime = "joda-time:joda-time:2.12.2"
  
  [bundles]
  kotlinx = [
      "kotlinx-coroutines-core",
      "kotlinx-serialization-json",
      "kotlinx-serialization-protobuf",
      "kotlinx-datatime",
      "kotlinx-collections-immutable"
  ]
  # TODO remove it to use ktor
  reftrofit2 = [
      "square-okhttp-logging-interceptor",
      "square-retforit2",
      "square-retforit2-converter-scalars",
      "square-retrofit2-kotlinx-serialization-converter",
      "jodaTime",
      "ktor-client-okhttp"
  ]
  ktor = [
      "ktor-client-core",
      "ktor-client-content-negotiation",
      "ktor-client-logging",
      "ktor-client-okhttp",
      "ktor-serialization-kotlinx-json"
  ]
  androidx-common = [
      "androidx-datastore",
      "androidx-datastore-preferences",
      "androidx-pagging"
  ]
  androidx = [
      "androidx-core-ktx",
      "androidx-activity-ktx",
      "androidx-activity-compose",
      "androidx-work-rumtime-ktx",
      "androidx-exifinterface",
      "androidx-startup",
      "androidx-browser",
      "androidx-vectordrawable"
  ]
  test = [
  ]
  test-android = [
      "androidx-test-arch-core",
      "androidx-test-core",
      "androidx-test-runner",
      "androidx-test-ext",
      "androidx-test-espresso-core"
  ]
  compose = [
      "compose-precompose",
      "compose-precompose-annotation",
      #    "compose-paging",
      "compose-imageloader",
      "compose-safearea",
  ]
  room = [
      "room-rumtime",
      "room-ktx",
      "room-pagging",
  ]
  exoplayer = [
      "exoplayer",
      "exoplayer-extension-okhttp"
  ]
  