升级Kotlin

This commit is contained in:
董宏宇
2021-09-06 17:13:20 +08:00
parent a454f3649e
commit d58a9277ab
5 changed files with 15 additions and 13 deletions

View File

@@ -8,6 +8,8 @@ ext {
targetSdkVersion : 22,
]
dependencies = [
kotlinstdlibjdk7 : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlin_version}",
// android
androidxappcompat : "androidx.appcompat:appcompat:1.3.1",
androidxconstraintlayout : "androidx.constraintlayout:constraintlayout:2.1.0",

View File

@@ -52,7 +52,7 @@ android {
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
}
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()

View File

@@ -49,7 +49,7 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
api rootProject.ext.dependencies.retrofit
api rootProject.ext.dependencies.retrofitadapter

View File

@@ -36,22 +36,22 @@ PASSWORD=xintai2018
RELEASE=true
# AI CLOUD 云平台
# 工具类
MOGO_UTILS_VERSION=1.1.44
MOGO_UTILS_VERSION=1.1.45
# 网络请求
MOGO_NETWORK_VERSION=1.1.44
MOGO_NETWORK_VERSION=1.1.45
# 网络DNS
MOGO_HTTPDNS_VERSION=1.1.44
MOGO_HTTPDNS_VERSION=1.1.45
# 鉴权
MOGO_PASSPORT_VERSION=1.1.44
MOGO_PASSPORT_VERSION=1.1.45
# 常链接
MOGO_SOCKET_VERSION=1.1.44
MOGO_SOCKET_VERSION=1.1.45
# 数据采集
MOGO_REALTIME_VERSION=1.1.44
MOGO_REALTIME_VERSION=1.1.45
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.1.44
MOGO_TANLU_VERSION=1.1.45
# 直播推流
MOGO_LIVE_VERSION=1.1.44
MOGO_LIVE_VERSION=1.1.45
# 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.1.44
MOGO_TRAFFICLIVE_VERSION=1.1.45
# 定位服务
MOGO_LOCATION_VERSION=1.1.44
MOGO_LOCATION_VERSION=1.1.45

View File

@@ -28,7 +28,7 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
implementation rootProject.ext.dependencies.rxjava
implementation rootProject.ext.dependencies.rxandroid