mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-08-12 18:22:22 +00:00
update gradle
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import java.util.Properties
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.jetbrains.kotlin.android)
|
||||
@ -7,6 +8,14 @@ plugins {
|
||||
// id("com.google.dagger.hilt.android")
|
||||
}
|
||||
|
||||
val localProperties = Properties().apply {
|
||||
val localPropertiesFile = rootProject.file("local.properties")
|
||||
if (localPropertiesFile.exists()) {
|
||||
load(localPropertiesFile.inputStream())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
android {
|
||||
namespace = "com.alya.ecommerce_serang"
|
||||
compileSdk = 34
|
||||
@ -23,7 +32,7 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
buildConfigField("String", "BASE_URL", "\"http://192.168.1.5:3000/\"")
|
||||
buildConfigField("String", "BASE_URL", "\"http://192.168.1.6:3000/\"")
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
@ -31,7 +40,7 @@ android {
|
||||
)
|
||||
}
|
||||
debug {
|
||||
buildConfigField("String", "BASE_URL", "\"http://192.168.1.5:3000/\"")
|
||||
buildConfigField("String", "BASE_URL", "\"http://192.168.1.6:3000/\"")
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
|
Reference in New Issue
Block a user