Advertisement
Guest User

at.mkw.inlocs.android.health

a guest
Apr 1st, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.11 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.     productFlavors {
  21.         cow {
  22.             packageName "at.mkw.inlocs.android.health.cow"
  23.         }
  24.  
  25.         pig {
  26.             packageName "at.mkw.inlocs.android.health.pig"
  27.         }
  28.     }
  29.  
  30.     buildTypes {
  31.         release {
  32.             signingConfig signingConfigs.mkwe
  33.         }
  34.  
  35.         // prevents dexing of lib classes
  36.         // replaces the modified ant script
  37.         applicationVariants.all { variant ->
  38.             variant.dex.libraries = new ArrayList<?>()
  39.         }
  40.     }
  41. }
  42.  
  43. dependencies {
  44.     cowCompile project(path: ':at.mkw.inlocs.android.lib', configuration: 'cowRelease')
  45.     pigCompile project(path: ':at.mkw.inlocs.android.lib', configuration: 'pigRelease')
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement