1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-14 09:45:34 +01:00
Twidere-App-Android-Twitter.../twidere/patches/remove_closed_source_dependencies.patch

103 lines
4.1 KiB
Diff
Raw Normal View History

Index: twidere/build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
2017-04-25 20:00:57 +02:00
--- twidere/build.gradle (date 1493143158000)
2017-04-25 19:32:08 +02:00
+++ twidere/build.gradle (revision )
2017-04-25 20:00:57 +02:00
@@ -7,23 +7,23 @@ apply plugin: 'kotlin-android-extensions'
2016-05-14 05:06:12 +02:00
apply plugin: 'androidsvgdrawable'
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
-apply plugin: 'io.fabric'
2017-03-15 10:19:35 +01:00
-apply plugin: 'com.github.triplet.play'
2016-02-13 08:29:51 +01:00
+//apply plugin: 'io.fabric'
2017-03-15 10:19:35 +01:00
+//apply plugin: 'com.github.triplet.play'
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
2016-02-13 08:29:51 +01:00
buildscript {
repositories {
2016-06-30 07:13:34 +02:00
jcenter()
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
- maven { url 'https://maven.fabric.io/public' }
2016-02-13 08:29:51 +01:00
+// maven { url 'https://maven.fabric.io/public' }
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
2016-02-13 08:29:51 +01:00
}
dependencies {
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
2017-03-15 10:19:35 +01:00
- classpath "io.fabric.tools:gradle:${libVersions['FabricPlugin']}"
- classpath "com.github.triplet.gradle:play-publisher:${libVersions['PlayPublisher']}"
2017-04-25 20:00:57 +02:00
- classpath 'com.google.gms:google-services:3.0.0'
2017-03-15 10:19:35 +01:00
+// classpath "io.fabric.tools:gradle:${libVersions['FabricPlugin']}"
+// classpath "com.github.triplet.gradle:play-publisher:${libVersions['PlayPublisher']}"
2017-04-25 20:00:57 +02:00
+// classpath 'com.google.gms:google-services:3.0.0'
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
2016-06-30 07:13:34 +02:00
2017-03-04 06:04:03 +01:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${libVersions['Kotlin']}"
2017-04-25 20:00:57 +02:00
@@ -56,7 +56,7 @@ android {
productFlavors {
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
- google {}
2016-02-13 08:29:51 +01:00
+// google {}
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
fdroid {}
}
2017-04-25 20:00:57 +02:00
@@ -88,7 +88,7 @@ repositories {
2016-06-30 07:13:34 +02:00
mavenLocal()
maven { url 'https://s3.amazonaws.com/repo.commonsware.com' }
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
- maven { url 'https://maven.fabric.io/public' }
2016-02-13 08:29:51 +01:00
+// maven { url 'https://maven.fabric.io/public' }
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
flatDir { dirs "$projectDir/lib" }
}
2017-04-25 20:00:57 +02:00
@@ -104,17 +104,17 @@ dependencies {
2016-02-13 08:29:51 +01:00
compile project(':twidere.component.nyan')
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
2017-03-04 06:04:03 +01:00
- 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") {
2017-01-22 07:57:39 +01:00
- transitive = true
- }
2017-03-04 06:04:03 +01:00
- 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']}") {
2017-01-22 07:57:39 +01:00
- exclude group: 'org.apache.httpcomponents'
- }
2017-03-04 06:04:03 +01:00
+// 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") {
2017-01-22 07:57:39 +01:00
+// transitive = true
+// }
2017-03-04 06:04:03 +01:00
+// 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']}") {
2017-01-22 07:57:39 +01:00
+// exclude group: 'org.apache.httpcomponents'
+// }
2016-05-14 05:06:12 +02:00
// END Non-FOSS component
2016-02-13 08:29:51 +01:00
2017-04-25 19:32:08 +02:00
fdroidCompile "org.osmdroid:osmdroid-android:${libVersions['OSMDroid']}"
2017-04-25 20:00:57 +02:00
@@ -239,12 +239,12 @@ task svgToMipmap(type: SvgDrawableTask) {
2016-05-14 05:06:12 +02:00
}
2016-02-13 08:29:51 +01:00
2017-03-15 10:19:35 +01:00
// 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
2016-05-14 05:06:12 +02:00
// START Non-FOSS component
-apply plugin: 'com.google.gms.google-services'
+//apply plugin: 'com.google.gms.google-services'
// END Non-FOSS component