PassAndroid/build.gradle
2013-11-07 20:45:45 +01:00

58 lines
1.3 KiB
Groovy

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
maven {
url project.hasProperty('ligisMavenUrl') ? ligisMavenUrl : "https://raw.github.com/ligi/ligis-mvn-repo/master";
}
}
android {
compileSdkVersion 18
buildToolsVersion "18.0.1"
flavorGroups "maps", "analytics"
productFlavors {
withMaps {
flavorGroup "maps"
}
noMaps {
flavorGroup "maps"
}
withAnalytics {
flavorGroup "analytics"
}
noAnalytics {
flavorGroup "analytics"
}
}
dependencies {
compile 'com.google.zxing:core:2.1'
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile 'com.googlecode.android-query:android-query:0.25.+'
compile 'com.google.code.gson:gson:2.2.4'
compile 'org.ligi:tracedroid:1.1'
compile 'org.ligi:AXT:0.22'
compile 'com.android.support:support-v4:18.0.0'
withAnalyticsCompile fileTree(dir: 'libs', include: 'libGoogleAnalyticsV2.jar')
withMapsCompile 'com.google.android.gms:play-services:3.1.36'
}
}