2 Commits
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -18,6 +18,8 @@ android {
versionName = "1.0" versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "API_BASE", "\"https://resume.aridgwayweb.com\"")
} }
buildTypes { buildTypes {
@@ -32,6 +34,9 @@ android {
) )
} }
} }
buildFeatures {
buildConfig = true
}
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_11 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11
@@ -28,7 +28,7 @@ import java.util.concurrent.TimeUnit
object ApiClient { object ApiClient {
internal const val API_BASE = "https://resume.aridgwayweb.com" internal const val API_BASE = com.example.resbuilder.BuildConfig.API_BASE
private val gson = Gson() private val gson = Gson()
private val cookieStore = mutableListOf<Cookie>() private val cookieStore = mutableListOf<Cookie>()