From 52a313d2605bc51103cddd6bfb4fd07d2b8d5764 Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Wed, 20 Jan 2016 18:36:10 +0100 Subject: [PATCH] A2DP Volume: Fix build --- metadata/a2dp.Vol.txt | 4 ++-- metadata/a2dp.Vol/gradle.patch | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 metadata/a2dp.Vol/gradle.patch diff --git a/metadata/a2dp.Vol.txt b/metadata/a2dp.Vol.txt index b765f77345..89823af394 100644 --- a/metadata/a2dp.Vol.txt +++ b/metadata/a2dp.Vol.txt @@ -70,9 +70,9 @@ Build:2.11.12,125 extlibs=android/android-support-v4.jar Build:2.11.13,126 - disable=missing build.gradle file - commit=19958f960d641f317f4ffb920266f9f1ba6dde29 + commit=ad4167b1048365e437c8ace14a5c842ebd6a72df subdir=app + patch=gradle.patch gradle=yes Auto Update Mode:None diff --git a/metadata/a2dp.Vol/gradle.patch b/metadata/a2dp.Vol/gradle.patch new file mode 100644 index 0000000000..8c052fd8b7 --- /dev/null +++ b/metadata/a2dp.Vol/gradle.patch @@ -0,0 +1,32 @@ +diff --git a/app/build.gradle b/app/build.gradle +new file mode 100644 +index 0000000..bba1a96 +--- /dev/null ++++ b/app/build.gradle +@@ -0,0 +1,26 @@ ++apply plugin: 'com.android.application' ++ ++android { ++ compileSdkVersion 19 ++ buildToolsVersion '23.0.2' ++ defaultConfig { ++ applicationId "a2dp.Vol" ++ minSdkVersion 15 ++ targetSdkVersion 19 ++ } ++ ++ buildTypes { ++ ++ } ++ ++ sourceSets { ++ main { ++ manifest.srcFile 'src/main/AndroidManifest.xml' ++ } ++ } ++ ++} ++ ++dependencies { ++ compile 'com.android.support:support-v4:21.0.3' ++}