1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-15 02:11:43 +01:00
Twidere-App-Android-Twitter.../twidere/patches/remove_closed_source_dependencies.patch
2017-03-04 13:04:03 +08:00

87 lines
3.3 KiB
Diff

Index: twidere/build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- twidere/build.gradle (date 1488603761000)
+++ twidere/build.gradle (revision )
@@ -7,20 +7,20 @@
apply plugin: 'androidsvgdrawable'
// START Non-FOSS component
-apply plugin: 'io.fabric'
+//apply plugin: 'io.fabric'
// END Non-FOSS component
buildscript {
repositories {
jcenter()
// START Non-FOSS component
- maven { url 'https://maven.fabric.io/public' }
+// maven { url 'https://maven.fabric.io/public' }
// END Non-FOSS component
}
dependencies {
// START Non-FOSS component
- classpath "io.fabric.tools:gradle:${libVersions["FabricPlugin"]}"
+// classpath "io.fabric.tools:gradle:${libVersions["FabricPlugin"]}"
// END Non-FOSS component
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${libVersions['Kotlin']}"
@@ -50,7 +50,7 @@
productFlavors {
// START Non-FOSS component
- google {}
+// google {}
// END Non-FOSS component
fdroid {}
}
@@ -82,7 +82,7 @@
mavenLocal()
maven { url 'https://s3.amazonaws.com/repo.commonsware.com' }
// START Non-FOSS component
- maven { url 'https://maven.fabric.io/public' }
+// maven { url 'https://maven.fabric.io/public' }
// END Non-FOSS component
flatDir { dirs "$projectDir/lib" }
}
@@ -98,17 +98,17 @@
compile project(':twidere.component.nyan')
// START Non-FOSS component
- googleCompile "com.google.android.gms:play-services-maps:${libVersions['PlayServices']}"
- googleCompile "com.google.android.gms:play-services-auth:${libVersions['PlayServices']}"
- googleCompile "com.google.maps.android:android-maps-utils:${libVersions['MapsUtils']}"
- googleCompile("com.crashlytics.sdk.android:crashlytics:${libVersions['Crashlyrics']}@aar") {
- transitive = true
- }
- googleCompile "com.anjlab.android.iab.v3:library:${libVersions['IABv3']}"
- googleCompile "com.dropbox.core:dropbox-core-sdk:${libVersions['DropboxCoreSdk']}"
- googleCompile("com.google.apis:google-api-services-drive:${libVersions['GoogleDriveApi']}") {
- exclude group: 'org.apache.httpcomponents'
- }
+// googleCompile "com.google.android.gms:play-services-maps:${libVersions['PlayServices']}"
+// googleCompile "com.google.android.gms:play-services-auth:${libVersions['PlayServices']}"
+// googleCompile "com.google.maps.android:android-maps-utils:${libVersions['MapsUtils']}"
+// googleCompile("com.crashlytics.sdk.android:crashlytics:${libVersions['Crashlyrics']}@aar") {
+// transitive = true
+// }
+// googleCompile "com.anjlab.android.iab.v3:library:${libVersions['IABv3']}"
+// googleCompile "com.dropbox.core:dropbox-core-sdk:${libVersions['DropboxCoreSdk']}"
+// googleCompile("com.google.apis:google-api-services-drive:${libVersions['GoogleDriveApi']}") {
+// exclude group: 'org.apache.httpcomponents'
+// }
// END Non-FOSS component
fdroidCompile 'org.osmdroid:osmdroid-android:5.6.4'
@@ -224,5 +224,5 @@
}
// START Non-FOSS component
-apply plugin: 'com.google.gms.google-services'
+//apply plugin: 'com.google.gms.google-services'
// END Non-FOSS component
\ No newline at end of file