Advertisement
Guest User

at.mkw.inlocs.android.breeding

a guest
Apr 1st, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.18 KB | None | 0 0
  1. apply plugin: 'android'
  2.  
  3. android {
  4.     compileSdkVersion smartbowSdkVersion
  5.     buildToolsVersion smartbowBuildToolsVersion
  6.  
  7.     defaultConfig {
  8.         versionCode smartbowVersionCode
  9.     }
  10.  
  11.     signingConfigs {
  12.         mkwe {
  13.             storeFile file(signingStoreFile)
  14.             storePassword signingStorePassword
  15.             keyAlias signingKeyAlias
  16.             keyPassword signingKeyPassword
  17.         }
  18.     }
  19.  
  20.     buildTypes {
  21.         release {
  22.             signingConfig signingConfigs.mkwe
  23.         }
  24.  
  25.         // prevents dexing of lib classes
  26.         // replaces the modified ant script
  27.         applicationVariants.all { variant ->
  28.             variant.dex.libraries = new ArrayList<?>()
  29.         }
  30.     }
  31.  
  32.     productFlavors {
  33.         cow {
  34.             packageName "at.mkw.inlocs.android.breeding.cow"
  35.         }
  36.  
  37.         pig {
  38.             packageName "at.mkw.inlocs.android.breeding.pig"
  39.         }
  40.     }
  41.  
  42.     packagingOptions {
  43.         exclude 'LICENSE.txt'
  44.     }
  45. }
  46.  
  47. dependencies {
  48.     cowCompile project(path: ':at.mkw.inlocs.android.lib', configuration: 'cowRelease')
  49.     pigCompile project(path: ':at.mkw.inlocs.android.lib', configuration: 'pigRelease')
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement