Преглед изворни кода

Updated android project build.gradle files.

Mark Sibly пре 7 година
родитељ
комит
e756419a0f

+ 4 - 6
products/android/Monkey2Game/app/build.gradle

@@ -1,25 +1,23 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 24
+    compileSdkVersion 26
 
     defaultConfig {
         applicationId "${PACKAGE_NAME}"
         minSdkVersion 14
-        targetSdkVersion 24
+        targetSdkVersion 26
         versionCode 1
         versionName "1.0"
     }
     buildTypes {
         release {
             minifyEnabled false
-            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+            proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
         }
     }
 }
 
 dependencies {
-    compile fileTree(dir: 'libs', include: ['*.jar'])
-    testCompile 'junit:junit:4.12'
-    compile 'com.android.support:appcompat-v7:24.0.0'
+    compile 'com.android.support:appcompat-v7:26.1.0'
 }

+ 3 - 4
products/android/Monkey2Game/build.gradle

@@ -3,6 +3,7 @@
 buildscript {
 
     repositories {
+    	google()
         jcenter()
     }
     
@@ -12,11 +13,9 @@ buildscript {
 }
 
 allprojects {
+
     repositories {
         jcenter()
+        google()
     }
 }
-
-task clean(type: Delete) {
-    delete rootProject.buildDir
-}