mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-10 08:44:34 +00:00
Added koin, databinding and navigation components
Converted App class and Main activity to Kotlin. With that refactored fields within App class to allow lazy initialization BEWARE: at this point the navigation is very much broken, won't let you anywhere beyond home screen
This commit is contained in:
@@ -30,6 +30,10 @@ android {
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -64,12 +68,13 @@ dependencies {
|
||||
implementation "com.jakewharton:butterknife-runtime:${butterKnifeVersion}"
|
||||
kapt "com.jakewharton:butterknife-compiler:${butterKnifeVersion}"
|
||||
|
||||
implementation ("com.github.skoumalcz:teanity:0.3.3") {
|
||||
exclude group: 'com.karumi', module: 'dexter'
|
||||
exclude group: 'com.evernote', module: 'android-state'
|
||||
def koin = "2.0.0-rc-2"
|
||||
implementation("org.koin:koin-core:${koin}")
|
||||
implementation("org.koin:koin-android:${koin}")
|
||||
implementation("org.koin:koin-androidx-viewmodel:${koin}")
|
||||
|
||||
implementation("com.github.skoumalcz:teanity:0.3.3") {
|
||||
exclude group: 'androidx.work', module: 'work-runtime-ktx'
|
||||
exclude group: 'androidx.room', module: 'room-runtime'
|
||||
exclude group: 'io.reactivex.rxjava2', module: 'rxkotlin' //hopefully not forever
|
||||
exclude group: 'io.reactivex.rxjava2', module: 'rxandroid' //hopefully not forever
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user