From 82e853c976f0d268df2b493b2db89671748f35a6 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期四, 02 四月 2020 11:02:58 +0800 Subject: [PATCH] 实现从"https://trainsim-api.aaej.cn/"获取map和car模型的http接口 --- app/build.gradle | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2f7d9fa..7a6e630 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,6 +12,10 @@ versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } buildTypes { release { minifyEnabled false @@ -64,6 +68,7 @@ implementation "androidx.core:core-ktx:+" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "com.squareup.retrofit2:retrofit:$rootProject.retrofit_version" } repositories { mavenCentral() -- Gitblit v1.8.0