1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Android: Android Studio 3.1 now requires the google() repository to come before any other repositories

This commit is contained in:
hogliux 2018-04-10 13:00:39 +01:00 committed by ed
parent 97a4084804
commit 2271d3b734

View file

@ -577,8 +577,8 @@ private:
mo << "buildscript {" << newLine;
mo << " repositories {" << newLine;
mo << " jcenter()" << newLine;
mo << " google()" << newLine;
mo << " jcenter()" << newLine;
mo << " }" << newLine;
mo << " dependencies {" << newLine;
mo << " classpath 'com.android.tools.build:gradle:" << androidPluginVersion.get().toString() << "'" << newLine;
@ -591,6 +591,7 @@ private:
mo << "" << newLine;
mo << "allprojects {" << newLine;
mo << " repositories {" << newLine;
mo << " google()" << newLine;
mo << " jcenter()" << newLine;
if (androidEnableRemoteNotifications.get())