2019-07-20 11:39:26 +02:00
|
|
|
/*
|
|
|
|
* 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 {
|
2020-05-17 23:36:01 +02:00
|
|
|
val kotlinCoroutines = "1.3.5-native-mt-1.4-M1"
|
|
|
|
val kotlin = "1.4-M1"
|
|
|
|
val kotlinSerialization = "0.20.0-1.4-M1"
|
|
|
|
val atomicfu = "0.14.2-1.4-M1"
|
2019-07-20 11:39:26 +02:00
|
|
|
val nodePlugin = "1.3.0"
|
|
|
|
val dokkaPlugin = "0.9.18"
|
|
|
|
|
2020-01-08 21:13:41 +01:00
|
|
|
val kotlinBigNumVersion = "0.1.6-SNAPSHOT"
|
2019-07-20 11:39:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
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}"
|
2020-05-17 23:36:01 +02:00
|
|
|
val atomicfu = "org.jetbrains.kotlinx:atomicfu:${Versions.atomicfu}"
|
2019-12-26 15:05:15 +01:00
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
|
|
|
|
val kotlinBigNum = "com.ionspin.kotlin:bignum:${Versions.kotlinBigNumVersion}"
|
2020-05-24 10:29:30 +02:00
|
|
|
|
|
|
|
val apiProject = ":multiplatform-crypto-api"
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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}"
|
2019-12-26 15:05:15 +01:00
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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 coroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.kotlinCoroutines}"
|
|
|
|
}
|
|
|
|
|
|
|
|
object iOs {
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|