Posts

Showing posts with the label android-gradle

How to create two applications for each flavor with different assets folders in Gradle?

Image
Clash Royale CLAN TAG #URR8PPP How to create two applications for each flavor with different assets folders in Gradle? Currently I'm working on an application that has 5 flavors and this is the part of my build.gradle files that matters: buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.14.0' } } apply plugin: 'com.android.application' repositories { mavenCentral() } android { compileSdkVersion 20 buildToolsVersion '20.0.0' signingConfigs { release { storeFile file("") storePassword "password" keyAlias "alias" keyPassword "password" } } lintOptions { abortOnError false } defaultConfig { minSdkVersion 14 targetSdkVersion 20 applicationId 'application.package' signingConfig signingConfigs.release ...