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 {
|
2021-01-09 23:42:30 +01:00
|
|
|
val kotlinCoroutines = "1.4.2"
|
2021-02-06 16:35:18 +01:00
|
|
|
val kotlin = "1.4.30"
|
2020-12-08 20:09:44 +01:00
|
|
|
val kotlinSerialization = "1.0.1"
|
2020-10-17 18:08:12 +02:00
|
|
|
val kotlinSerializationPlugin = "1.4.10"
|
2020-06-05 16:27:58 +02:00
|
|
|
val atomicfu = "0.14.3-M2-2-SNAPSHOT" //NOTE: my linux arm32 and arm64 build
|
2019-07-20 11:39:26 +02:00
|
|
|
val nodePlugin = "1.3.0"
|
2021-02-24 12:04:16 +01:00
|
|
|
val dokkaPlugin = "1.4.0-rc"
|
2020-06-01 15:16:47 +02:00
|
|
|
val taskTreePlugin = "1.5"
|
2021-02-06 22:28:25 +01:00
|
|
|
val kotlinBigNumVersion = "0.2.8-SNAPSHOT"
|
2021-02-23 10:23:07 +01:00
|
|
|
val jna = "5.7.0"
|
2020-07-31 13:20:43 +02:00
|
|
|
val kotlinPoet = "1.6.0"
|
2020-10-19 22:27:38 +02:00
|
|
|
val libsodiumBindings = "0.1.1-SNAPSHOT"
|
2020-10-17 11:41:38 +02:00
|
|
|
val ktor = "1.3.2"
|
|
|
|
val timber = "4.7.1"
|
2020-10-17 18:08:12 +02:00
|
|
|
val kodeinVersion = "7.1.0"
|
2020-10-17 11:41:38 +02:00
|
|
|
|
2021-02-20 12:52:25 +01:00
|
|
|
val resourceLoader = "1.3.10"
|
|
|
|
|
2020-10-17 11:41:38 +02:00
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
|
2021-02-23 10:23:07 +01:00
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
2020-05-30 22:47:01 +02:00
|
|
|
object ReleaseInfo {
|
2020-05-30 00:33:31 +02:00
|
|
|
val group = "com.ionspin.kotlin"
|
2020-06-11 20:29:03 +02:00
|
|
|
val version = "0.1.0-SNAPSHOT"
|
2021-02-24 17:19:12 +01:00
|
|
|
val bindingsVersion = "0.8.3-SNAPSHOT"
|
2020-05-30 00:33:31 +02:00
|
|
|
}
|
|
|
|
|
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"
|
2021-02-09 14:41:08 +01:00
|
|
|
val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}"
|
2020-10-17 18:08:12 +02:00
|
|
|
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.kotlinSerialization}"
|
2020-06-01 11:29:45 +02:00
|
|
|
val atomicfu = "com.ionspin.kotlin.atomicfu: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"
|
2020-10-17 11:41:38 +02:00
|
|
|
|
2020-10-19 22:27:38 +02:00
|
|
|
val libsodiumBindings = "com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:${Versions.libsodiumBindings}"
|
2020-10-17 18:08:12 +02:00
|
|
|
|
|
|
|
val kodein = "org.kodein.di:kodein-di:${Versions.kodeinVersion}"
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
object Js {
|
2020-10-17 17:39:53 +02:00
|
|
|
|
|
|
|
object JsVersions {
|
|
|
|
val react = "16.13.1-pre.124-kotlin-1.4.10"
|
|
|
|
val reactNpm = "16.13.1"
|
|
|
|
val styled = "5.2.0-pre.124-kotlin-1.4.10"
|
|
|
|
val styledNpm = "1.0.0"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
val stdLib = "stdlib-js"
|
|
|
|
val test = "test-js"
|
2020-07-27 20:41:25 +02:00
|
|
|
val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Versions.kotlinCoroutines}"
|
2019-07-20 11:39:26 +02:00
|
|
|
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:${Versions.kotlinSerialization}"
|
2019-12-26 15:05:15 +01:00
|
|
|
|
2020-10-17 17:39:53 +02:00
|
|
|
val ktorClient = "io.ktor:ktor-client-js:${Versions.ktor}"
|
|
|
|
val ktorClientSerialization = "io.ktor:ktor-client-serialization-js:${Versions.ktor}"
|
|
|
|
val ktorClientWebSockets = "io.ktor:ktor-client-websockets-js:${Versions.ktor}"
|
|
|
|
|
|
|
|
object React {
|
|
|
|
val react = "org.jetbrains:kotlin-react:${JsVersions.react}"
|
|
|
|
val reactDom = "org.jetbrains:kotlin-react-dom:${JsVersions.react}"
|
|
|
|
val styled = "org.jetbrains:kotlin-styled:${JsVersions.styled}"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-05-26 00:23:27 +02:00
|
|
|
object Npm {
|
2020-08-29 21:53:17 +02:00
|
|
|
val libsodium = Pair("libsodium-wrappers-sumo", "0.7.8")
|
|
|
|
//val libsodiumWrappers = Pair("libsodium-wrappers-sumo", "file:${getProjectPath()}/multiplatform-crypto-delegated/libsodium-wrappers-sumo-0.7.6.tgz")
|
|
|
|
val libsodiumWrappers = Pair("libsodium-wrappers-sumo", "0.7.8")
|
2020-10-17 17:39:53 +02:00
|
|
|
val reactPair = Pair("react", JsVersions.reactNpm)
|
|
|
|
val reactDomPair = Pair("react-dom", JsVersions.reactNpm)
|
|
|
|
val styledComponentsPair = Pair("styled-components", "5.2.0")
|
|
|
|
val inlineStylePrefixesPair = Pair("inline-style-prefixer", "6.0.0")
|
2020-05-26 00:23:27 +02: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"
|
2020-07-27 20:41:25 +02:00
|
|
|
val coroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}"
|
2019-07-20 11:39:26 +02:00
|
|
|
val coroutinesjdk8 = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:${Versions.kotlinCoroutines}"
|
|
|
|
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime:${Versions.kotlinSerialization}"
|
2020-07-27 20:41:25 +02:00
|
|
|
val coroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.kotlinCoroutines}"
|
2020-06-09 21:05:05 +02:00
|
|
|
|
2020-07-31 13:20:43 +02:00
|
|
|
val kotlinPoet = "com.squareup:kotlinpoet:${Versions.kotlinPoet}"
|
|
|
|
|
2021-02-20 12:52:25 +01:00
|
|
|
val resourceLoader = "co.libly:resource-loader:${Versions.resourceLoader}"
|
|
|
|
|
2020-06-09 21:05:05 +02:00
|
|
|
object Delegated {
|
|
|
|
val jna = "net.java.dev.jna:jna:${Versions.jna}"
|
|
|
|
}
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
object iOs {
|
|
|
|
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:${Versions.kotlinSerialization}"
|
2020-07-27 20:41:25 +02:00
|
|
|
val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}"
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
object Native {
|
2021-02-24 09:57:33 +01:00
|
|
|
val serialization = "org.jetbrains.kotli nx:kotlinx-serialization-runtime-native:${Versions.kotlinSerialization}"
|
2020-07-27 20:41:25 +02:00
|
|
|
val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}"
|
2019-07-20 11:39:26 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-10-17 11:41:38 +02:00
|
|
|
object Android {
|
|
|
|
val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.kotlinCoroutines}"
|
|
|
|
val ktorClientOkHttp = "io.ktor:ktor-client-okhttp:${Versions.ktor}"
|
|
|
|
val ktorClient = "io.ktor:ktor-client-android:${Versions.ktor}"
|
|
|
|
val ktorClientSerialization = "io.ktor:ktor-client-serialization-jvm:${Versions.ktor}"
|
|
|
|
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime:${Versions.kotlinSerialization}"
|
|
|
|
val timber = "com.jakewharton.timber:timber:${Versions.timber}"
|
2021-02-23 10:23:07 +01:00
|
|
|
val jna = "net.java.dev.jna:jna:${Versions.jna}@aar"
|
2020-10-17 11:41:38 +02:00
|
|
|
}
|
|
|
|
|
2020-10-23 14:15:21 +02:00
|
|
|
object Desktop {
|
|
|
|
val libui = "com.github.msink:libui:0.1.8"
|
|
|
|
}
|
|
|
|
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
object PluginsDeps {
|
2020-10-17 18:08:12 +02:00
|
|
|
val kotlinSerializationPlugin = "plugin.serialization"
|
2019-07-20 11:39:26 +02:00
|
|
|
val multiplatform = "multiplatform"
|
|
|
|
val node = "com.github.node-gradle.node"
|
|
|
|
val mavenPublish = "maven-publish"
|
|
|
|
val signing = "signing"
|
|
|
|
val dokka = "org.jetbrains.dokka"
|
2020-06-01 15:16:47 +02:00
|
|
|
val taskTree = "com.dorongold.task-tree"
|
2020-08-22 00:43:22 +02:00
|
|
|
val androidLibrary = "com.android.library"
|
|
|
|
val kotlinAndroidExtensions = "kotlin-android-extensions"
|
2020-10-17 11:41:38 +02:00
|
|
|
val androidApplication = "com.android.application"
|
|
|
|
val kotlinAndroid = "kotlin-android"
|
|
|
|
val kapt = "kotlin-kapt"
|
2019-07-20 11:39:26 +02:00
|
|
|
}
|
|
|
|
|