diff --git a/build.gradle b/build.gradle index 3b08340..e43ed0a 100644 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,10 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.5.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' + if(hasProperty('target') && target == 'android') { + classpath 'com.android.tools.build:gradle:1.5.+' + classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' + } } }