/* * Copyright 2019 Ugljesa Jovanovic * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ object Versions { val klock = "1.1.1" val kotlinCoroutines = "1.3.0" val timber = "5.0.0-SNAPSHOT" val oshi = "3.12.0" val kotlin = "1.3.50" val ktor = "1.1.1" val kotlinSerialization = "0.11.1" val nodePlugin = "1.3.0" val dokkaPlugin = "0.9.18" val kotlinBigNumVersion = "0.1.1-SNAPSHOT" } object Deps { object Common { val stdLib = "stdlib-common" val test = "test-common" val testAnnotation = "test-annotations-common" val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:${Versions.kotlinCoroutines}" val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:${Versions.kotlinSerialization}" val ktorClient = "io.ktor:ktor-client:${Versions.ktor}" val ktorClientCore = "io.ktor:ktor-client-core:${Versions.ktor}" val timber = "com.jakewharton.timber:timber-common:${Versions.timber}" val klock = "com.soywiz:klock:${Versions.klock}" val kotlinBigNum = "com.ionspin.kotlin:bignum:${Versions.kotlinBigNumVersion}" } object Js { val stdLib = "stdlib-js" val test = "test-js" val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Versions.kotlinCoroutines}" val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:${Versions.kotlinSerialization}" val ktorClient = "io.ktor:ktor-client-js:${Versions.ktor}" val ktorClientCore = "io.ktor:ktor-client-core-js:${Versions.ktor}" val timber = "com.jakewharton.timber:timber-js:${Versions.timber}" } object Jvm { val stdLib = "stdlib-jdk8" val test = "test" val testJUnit = "test-junit" val reflection = "reflect" val coroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}" val coroutinesjdk8 = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:${Versions.kotlinCoroutines}" val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime:${Versions.kotlinSerialization}" val ktorClientJvm = "io.ktor:ktor-client-jvm:${Versions.ktor}" val ktorClientOkHttp = "io.ktor:ktor-client-okhttp:${Versions.ktor}" val ktorClientCore = "io.ktor:ktor-client-core-jvm:${Versions.ktor}" val timber = "com.jakewharton.timber:timber-jdk:${Versions.timber}" val oshi = "com.github.oshi:oshi-core:${Versions.oshi}" val coroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.kotlinCoroutines}" } object iOs { val ktorClient = "io.ktor:ktor-client-ios:${Versions.ktor}" val ktorClientCore = "io.ktor:ktor-client-core-ios:${Versions.ktor}" val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:${Versions.kotlinSerialization}" val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}" } object Native { val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:${Versions.kotlinSerialization}" val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}" } } object PluginsDeps { val kotlinSerializationPlugin = "kotlinx-serialization" val multiplatform = "multiplatform" val node = "com.github.node-gradle.node" val mavenPublish = "maven-publish" val signing = "signing" val dokka = "org.jetbrains.dokka" }