58 lines
1.3 KiB
Diff
58 lines
1.3 KiB
Diff
|
=== added file 'build.gradle'
|
||
|
--- old/build.gradle 1970-01-01 00:00:00 +0000
|
||
|
+++ new/build.gradle 2014-11-22 14:59:50 +0000
|
||
|
@@ -0,0 +1,52 @@
|
||
|
+buildscript {
|
||
|
+ repositories {
|
||
|
+ mavenCentral()
|
||
|
+ }
|
||
|
+
|
||
|
+ dependencies {
|
||
|
+ classpath 'com.android.tools.build:gradle:0.12.2'
|
||
|
+ }
|
||
|
+}
|
||
|
+
|
||
|
+apply plugin: 'com.android.application'
|
||
|
+
|
||
|
+android {
|
||
|
+ compileSdkVersion 21
|
||
|
+ buildToolsVersion '21.1.1'
|
||
|
+
|
||
|
+ compileOptions {
|
||
|
+ sourceCompatibility JavaVersion.VERSION_1_7
|
||
|
+ targetCompatibility JavaVersion.VERSION_1_7
|
||
|
+ }
|
||
|
+
|
||
|
+ packagingOptions {
|
||
|
+ exclude 'META-INF/LICENSE.txt'
|
||
|
+ exclude 'META-INF/NOTICE.txt'
|
||
|
+ }
|
||
|
+
|
||
|
+ sourceSets {
|
||
|
+ main {
|
||
|
+ manifest.srcFile 'AndroidManifest.xml'
|
||
|
+ java.srcDirs = ['src']
|
||
|
+ resources.srcDirs = ['src']
|
||
|
+ aidl.srcDirs = ['src']
|
||
|
+ renderscript.srcDirs = ['src']
|
||
|
+ res.srcDirs = ['res']
|
||
|
+ assets.srcDirs = ['assets']
|
||
|
+ }
|
||
|
+ }
|
||
|
+
|
||
|
+ lintOptions {
|
||
|
+ abortOnError false
|
||
|
+ }
|
||
|
+
|
||
|
+ repositories {
|
||
|
+ mavenCentral()
|
||
|
+ mavenLocal()
|
||
|
+ }
|
||
|
+
|
||
|
+ dependencies {
|
||
|
+ compile 'com.android.support:support-v4:21.0.+'
|
||
|
+ compile 'com.android.support:appcompat-v7:21.0.+'
|
||
|
+ }
|
||
|
+}
|
||
|
|