From ac7644451c64afe0d1ce339e24f93e2c87840dad Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Sun, 10 Jan 2016 10:39:59 +0800 Subject: [PATCH] added patch to remove closed source dependencies --- .../remove_closed_source_dependencies.patch | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 twidere/patches/remove_closed_source_dependencies.patch diff --git a/twidere/patches/remove_closed_source_dependencies.patch b/twidere/patches/remove_closed_source_dependencies.patch new file mode 100644 index 000000000..f6aa9df7b --- /dev/null +++ b/twidere/patches/remove_closed_source_dependencies.patch @@ -0,0 +1,56 @@ +Index: twidere/build.gradle +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +--- twidere/build.gradle (date 1452393414000) ++++ twidere/build.gradle (revision ) +@@ -3,20 +3,9 @@ + import java.text.SimpleDateFormat + + apply plugin: 'com.android.application' +-apply plugin: 'io.fabric' + apply plugin: 'com.neenbedankt.android-apt' + apply plugin: 'androidsvgdrawable' + +-buildscript { +- repositories { +- maven { url 'https://maven.fabric.io/public' } +- } +- +- dependencies { +- classpath 'io.fabric.tools:gradle:1.21.2' +- } +-} +- + android { + + defaultConfig { +@@ -39,7 +28,6 @@ + targetCompatibility JavaVersion.VERSION_1_7 + } + productFlavors { +- google {} + fdroid {} + } + buildTypes { +@@ -66,7 +54,6 @@ + + repositories { + maven { url 'https://s3.amazonaws.com/repo.commonsware.com' } +- maven { url 'https://maven.fabric.io/public' } + flatDir { dirs "$projectDir/lib" } + } + +@@ -116,10 +103,6 @@ + compile 'com.google.dagger:dagger:2.0.2' + compile 'org.attoparser:attoparser:1.4.0.RELEASE' + compile 'com.j256.simplemagic:simplemagic:1.6' +- googleCompile 'com.google.android.gms:play-services-maps:8.4.0' +- googleCompile 'com.google.maps.android:android-maps-utils:0.4' +- googleCompile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') { transitive = true } +- googleCompile ':YouTubeAndroidPlayerApi:1.2.2@jar' + fdroidCompile 'org.osmdroid:osmdroid-android:5.0.1' + debugCompile 'com.facebook.stetho:stetho:1.2.0' + debugCompile 'com.facebook.stetho:stetho-okhttp:1.2.0' +\ No newline at end of file