1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-15 10:14:48 +01:00
Twidere-App-Android-Twitter.../twidere/patches/remove_closed_source_dependencies.patch
2017-03-15 17:19:35 +08:00

102 lines
3.9 KiB
Diff

Index: twidere/build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- twidere/build.gradle (date 1489569483000)
+++ twidere/build.gradle (revision )
@@ -7,22 +7,22 @@
apply plugin: 'androidsvgdrawable'
// START Non-FOSS component
-apply plugin: 'io.fabric'
-apply plugin: 'com.github.triplet.play'
+//apply plugin: 'io.fabric'
+//apply plugin: 'com.github.triplet.play'
// 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 "com.github.triplet.gradle:play-publisher:${libVersions['PlayPublisher']}"
+// classpath "io.fabric.tools:gradle:${libVersions['FabricPlugin']}"
+// classpath "com.github.triplet.gradle:play-publisher:${libVersions['PlayPublisher']}"
// END Non-FOSS component
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${libVersions['Kotlin']}"
@@ -52,7 +52,7 @@
productFlavors {
// START Non-FOSS component
- google {}
+// google {}
// END Non-FOSS component
fdroid {}
}
@@ -84,7 +84,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" }
}
@@ -100,17 +100,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'
@@ -229,12 +229,12 @@
}
// START Non-FOSS component
-play {
- jsonFile = rootProject.file('private/google_play_publish.json')
- track = 'beta'
-}
+//play {
+// jsonFile = rootProject.file('private/google_play_publish.json')
+// track = 'beta'
+//}
// END Non-FOSS component
// 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