Created
January 13, 2024 11:30
-
-
Save jdblack/8d58add53f427d875c5237477eef8350 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
Android { | |
buildTypes { | |
debug { | |
buildConfigField("String", "API_SERVER", "\"http://10.0.2.2:3000/\"") | |
} | |
release { | |
buildConfigField("String", "API_SERVER", "\"https://www.prod.xxxx.xxx.xxx/\"") | |
isMinifyEnabled = false | |
proguardFiles( | |
getDefaultProguardFile("proguard-android-optimize.txt"), | |
"proguard-rules.pro" | |
) | |
} | |
create("local") { | |
initWith(getByName("debug")) | |
buildConfigField("String", "API_SERVER", "\"http://localhost:3000/\"") | |
} | |
} | |
... | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment