Browse Source

Fixed build settings (thanks to Tae Hanazono!)

Martin Felis 7 years ago
parent
commit
fc85623f10
3 changed files with 8 additions and 10 deletions
  1. 0 4
      app/build.gradle
  2. 8 1
      build.gradle
  3. 0 5
      love/build.gradle

+ 0 - 4
app/build.gradle

@@ -27,7 +27,3 @@ dependencies {
     api 'androidx.appcompat:appcompat:1.1.0-alpha01'
     api 'androidx.appcompat:appcompat:1.1.0-alpha01'
     api project(':love')
     api project(':love')
 }
 }
-
-repositories {
-    google()
-}

+ 8 - 1
build.gradle

@@ -1,9 +1,16 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 
 
-buildscript {
+allprojects {
     repositories {
     repositories {
+        google()
         jcenter()
         jcenter()
+    }
+}
+
+buildscript {
+    repositories {
         google()
         google()
+        jcenter()
     }
     }
     dependencies {
     dependencies {
         classpath 'com.android.tools.build:gradle:3.2.1'
         classpath 'com.android.tools.build:gradle:3.2.1'

+ 0 - 5
love/build.gradle

@@ -51,8 +51,3 @@ dependencies {
     api fileTree(dir: 'libs', include: ['*.jar'])
     api fileTree(dir: 'libs', include: ['*.jar'])
     api 'androidx.appcompat:appcompat:1.1.0-alpha01'
     api 'androidx.appcompat:appcompat:1.1.0-alpha01'
 }
 }
-
-repositories {
-    google()
-    jcenter()
-}