To differentiate between different app flavors, I want to make a reference to the applicationId
in my build.gradle
like this:
externalNativeBuild {
cmake {
cppFlags += '-DAPPLICATION_ID="' + applicationId + '"'
}
}
But gradle tells me that it
Could not get unknown property 'applicationId' for object of type com.android.build.gradle.internal.dsl.ExternalNativeCmakeOptions.
How could I achieve this?