Skip to content

Instantly share code, notes, and snippets.

@phatmann
phatmann / build.gradle
Created December 20, 2019 13:00
Using an environment variable instead of a flavor in Android build script to work around App Center limitation
apply plugin: "com.android.application"
apply plugin: 'io.fabric'
import com.android.build.OutputFile
def enableProguardInReleaseBuilds = true
def endpoint = System.env.NEXT_ANDROID_APP_ENDPOINT
android {