Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
78734339
Commit
78734339
authored
Jul 11, 2020
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove RxJava as dependency
parent
52d19d3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
9 deletions
+1
-9
build.gradle.kts
app/build.gradle.kts
+1
-6
NetworkingModule.kt
...src/main/java/com/topjohnwu/magisk/di/NetworkingModule.kt
+0
-2
ViewEvents.kt
...main/java/com/topjohnwu/magisk/model/events/ViewEvents.kt
+0
-1
No files found.
app/build.gradle.kts
View file @
78734339
...
...
@@ -77,10 +77,6 @@ dependencies {
implementation
(
"com.github.topjohnwu:jtar:1.0.0"
)
implementation
(
"com.jakewharton.timber:timber:4.7.1"
)
implementation
(
"io.reactivex.rxjava2:rxjava:2.2.19"
)
implementation
(
"io.reactivex.rxjava2:rxkotlin:2.4.0"
)
implementation
(
"io.reactivex.rxjava2:rxandroid:2.1.1"
)
implementation
(
"org.jetbrains.kotlin:kotlin-stdlib:${Deps.vKotlin}"
)
implementation
(
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Deps.vKotlin}"
)
...
...
@@ -108,7 +104,6 @@ dependencies {
implementation
(
"com.squareup.retrofit2:retrofit:${vRetrofit}"
)
implementation
(
"com.squareup.retrofit2:converter-moshi:${vRetrofit}"
)
implementation
(
"com.squareup.retrofit2:converter-scalars:${vRetrofit}"
)
implementation
(
"com.squareup.retrofit2:adapter-rxjava2:${vRetrofit}"
)
val
vOkHttp
=
"3.12.12"
implementation
(
"com.squareup.okhttp3:okhttp"
)
{
...
...
@@ -132,7 +127,7 @@ dependencies {
implementation
(
"androidx.navigation:navigation-ui-ktx:${Deps.vNav}"
)
implementation
(
"androidx.biometric:biometric:1.0.1"
)
implementation
(
"androidx.constraintlayout:constraintlayout:2.0.0-beta
7
"
)
implementation
(
"androidx.constraintlayout:constraintlayout:2.0.0-beta
8
"
)
implementation
(
"androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
)
implementation
(
"androidx.browser:browser:1.2.0"
)
implementation
(
"androidx.preference:preference:1.1.1"
)
...
...
app/src/main/java/com/topjohnwu/magisk/di/NetworkingModule.kt
View file @
78734339
...
...
@@ -18,7 +18,6 @@ import okhttp3.OkHttpClient
import
okhttp3.dnsoverhttps.DnsOverHttps
import
org.koin.dsl.module
import
retrofit2.Retrofit
import
retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import
retrofit2.converter.moshi.MoshiConverterFactory
import
retrofit2.converter.scalars.ScalarsConverterFactory
import
java.net.InetAddress
...
...
@@ -81,7 +80,6 @@ fun createRetrofit(okHttpClient: OkHttpClient): Retrofit.Builder {
return
Retrofit
.
Builder
()
.
addConverterFactory
(
ScalarsConverterFactory
.
create
())
.
addConverterFactory
(
createMoshiConverterFactory
())
.
addCallAdapterFactory
(
RxJava2CallAdapterFactory
.
create
())
.
client
(
okHttpClient
)
}
...
...
app/src/main/java/com/topjohnwu/magisk/model/events/ViewEvents.kt
View file @
78734339
...
...
@@ -16,7 +16,6 @@ import com.topjohnwu.magisk.view.MagiskDialog
import
com.topjohnwu.magisk.view.MarkDownWindow
import
com.topjohnwu.superuser.Shell
import
dalvik.system.DexFile
import
io.reactivex.subjects.PublishSubject
import
kotlinx.coroutines.*
import
org.json.JSONObject
import
org.koin.core.KoinComponent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment