fdroiddata/metadata/org.openbmap/openbmap-gradle.patch
2014-09-22 14:29:20 +02:00

75 lines
1.8 KiB
Diff

diff --git a/android/build.gradle b/android/build.gradle
index e69de29..1cef4c8 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -0,0 +1,69 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:0.12.2'
+ }
+}
+
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 19
+ buildToolsVersion '19.1'
+
+ defaultConfig {
+ minSdkVersion 9
+ targetSdkVersion 19
+ }
+
+ 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.actionbarsherlock:actionbarsherlock:4.4.0@aar'
+ compile 'com.android.support:support-v4:19.0.+'
+
+ compile 'com.jjoe64:graphview:3.1.3'
+
+ compile 'org.apache.commons:commons-lang3:3.3.2'
+ compile 'org.apache.httpcomponents:httpmime:4.2.3'
+
+ compile 'org.mapsforge:svg-android:0.4.3'
+ compile 'org.mapsforge:mapsforge:0.4.3'
+ compile 'org.mapsforge:mapsforge-core:0.4.3'
+ compile 'org.mapsforge:mapsforge-map:0.4.3'
+ compile 'org.mapsforge:mapsforge-map-reader:0.4.3'
+ compile 'org.mapsforge:mapsforge-map-android:0.4.3'
+ }
+}