Migrated to mavenCentral version of some dependencies

This commit is contained in:
Prathamesh More 2021-09-20 11:59:25 +05:30
parent 1061fe8bfc
commit 518485738e
14 changed files with 29 additions and 29 deletions

View file

@ -142,9 +142,9 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version"
def koin_version = "2.1.5" def koin_version = '3.1.2'
implementation "org.koin:koin-core:$koin_version" implementation "io.insert-koin:koin-core:$koin_version"
implementation "org.koin:koin-androidx-viewmodel:$koin_version" implementation "io.insert-koin:koin-android:$koin_version"
implementation 'com.github.bumptech.glide:glide:4.12.0' implementation 'com.github.bumptech.glide:glide:4.12.0'
kapt 'com.github.bumptech.glide:compiler:4.12.0' kapt 'com.github.bumptech.glide:compiler:4.12.0'
@ -152,7 +152,7 @@ dependencies {
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0' implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
implementation 'org.eclipse.mylyn.github:org.eclipse.egit.github.core:3.4.0.201406110918-r' implementation 'org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5'
implementation 'org.bitbucket.ijabz:jaudiotagger:2.2.5' implementation 'org.bitbucket.ijabz:jaudiotagger:2.2.5'
implementation 'com.anjlab.android.iab.v3:library:1.1.0' implementation 'com.anjlab.android.iab.v3:library:1.1.0'
implementation 'com.r0adkll:slidableactivity:2.1.0' implementation 'com.r0adkll:slidableactivity:2.1.0'
@ -161,7 +161,7 @@ dependencies {
implementation 'me.zhanghai.android.fastscroll:library:1.1.7' implementation 'me.zhanghai.android.fastscroll:library:1.1.7'
implementation "com.github.YvesCheung.RollingText:RollingText:1.2.10" implementation "com.github.YvesCheung.RollingText:RollingText:1.2.10"
implementation 'cat.ereza:customactivityoncrash:2.3.0' implementation 'cat.ereza:customactivityoncrash:2.3.0'
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' debugImplementation 'com.github.amitshekhariitbhu:Android-Debug-Database:1.0.6'
} }
apply from: '../spotless.gradle' apply from: '../spotless.gradle'

View file

@ -30,8 +30,8 @@ import code.name.monkey.retromusic.model.Song
import code.name.monkey.retromusic.repository.SongRepository import code.name.monkey.retromusic.repository.SongRepository
import code.name.monkey.retromusic.service.MusicService import code.name.monkey.retromusic.service.MusicService
import code.name.monkey.retromusic.util.PreferenceUtil import code.name.monkey.retromusic.util.PreferenceUtil
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.inject import org.koin.core.component.inject
import java.io.File import java.io.File
import java.util.* import java.util.*

View file

@ -19,8 +19,8 @@ import android.os.Bundle
import android.provider.MediaStore import android.provider.MediaStore
import code.name.monkey.retromusic.model.Song import code.name.monkey.retromusic.model.Song
import code.name.monkey.retromusic.repository.RealSongRepository import code.name.monkey.retromusic.repository.RealSongRepository
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.inject import org.koin.core.component.inject
import java.util.* import java.util.*
object SearchQueryHelper : KoinComponent { object SearchQueryHelper : KoinComponent {

View file

@ -27,9 +27,9 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext import kotlinx.coroutines.withContext
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
import org.koin.core.inject import org.koin.core.component.inject
object GenreMenuHelper : KoinComponent { object GenreMenuHelper : KoinComponent {
private val genreRepository by inject<GenreRepository>() private val genreRepository by inject<GenreRepository>()

View file

@ -29,8 +29,8 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext import kotlinx.coroutines.withContext
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
object PlaylistMenuHelper : KoinComponent { object PlaylistMenuHelper : KoinComponent {

View file

@ -44,8 +44,8 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext import kotlinx.coroutines.withContext
import org.koin.androidx.viewmodel.ext.android.getViewModel import org.koin.androidx.viewmodel.ext.android.getViewModel
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
import java.io.File import java.io.File
object SongMenuHelper : KoinComponent { object SongMenuHelper : KoinComponent {

View file

@ -25,8 +25,8 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext import kotlinx.coroutines.withContext
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
object SongsMenuHelper : KoinComponent { object SongsMenuHelper : KoinComponent {
fun handleMenuClick( fun handleMenuClick(

View file

@ -3,8 +3,8 @@ package code.name.monkey.retromusic.model
import code.name.monkey.retromusic.repository.LastAddedRepository import code.name.monkey.retromusic.repository.LastAddedRepository
import code.name.monkey.retromusic.repository.SongRepository import code.name.monkey.retromusic.repository.SongRepository
import code.name.monkey.retromusic.repository.TopPlayedRepository import code.name.monkey.retromusic.repository.TopPlayedRepository
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.inject import org.koin.core.component.inject
abstract class AbsCustomPlaylist( abstract class AbsCustomPlaylist(
id: Long, id: Long,

View file

@ -5,8 +5,8 @@ import android.os.Parcelable
import code.name.monkey.retromusic.repository.RealPlaylistRepository import code.name.monkey.retromusic.repository.RealPlaylistRepository
import code.name.monkey.retromusic.util.MusicUtil import code.name.monkey.retromusic.util.MusicUtil
import kotlinx.parcelize.Parcelize import kotlinx.parcelize.Parcelize
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
@Parcelize @Parcelize
open class Playlist( open class Playlist(

View file

@ -4,7 +4,7 @@ import code.name.monkey.retromusic.App
import code.name.monkey.retromusic.R import code.name.monkey.retromusic.R
import code.name.monkey.retromusic.model.Song import code.name.monkey.retromusic.model.Song
import kotlinx.parcelize.Parcelize import kotlinx.parcelize.Parcelize
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
@Parcelize @Parcelize
class HistoryPlaylist : AbsSmartPlaylist( class HistoryPlaylist : AbsSmartPlaylist(

View file

@ -30,8 +30,8 @@ import code.name.monkey.retromusic.model.Song
import code.name.monkey.retromusic.repository.* import code.name.monkey.retromusic.repository.*
import code.name.monkey.retromusic.service.MusicService.* import code.name.monkey.retromusic.service.MusicService.*
import code.name.monkey.retromusic.util.MusicUtil import code.name.monkey.retromusic.util.MusicUtil
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.inject import org.koin.core.component.inject
/** /**

View file

@ -43,7 +43,7 @@ import com.bumptech.glide.request.target.Target
import com.bumptech.glide.request.transition.Transition import com.bumptech.glide.request.transition.Transition
import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
class PlayingNotificationImpl : PlayingNotification(), KoinComponent { class PlayingNotificationImpl : PlayingNotification(), KoinComponent {
private var target: Target<BitmapPaletteWrapper>? = null private var target: Target<BitmapPaletteWrapper>? = null

View file

@ -35,8 +35,8 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext import kotlinx.coroutines.withContext
import org.jaudiotagger.audio.AudioFileIO import org.jaudiotagger.audio.AudioFileIO
import org.jaudiotagger.tag.FieldKey import org.jaudiotagger.tag.FieldKey
import org.koin.core.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.get import org.koin.core.component.get
import java.io.File import java.io.File
import java.io.IOException import java.io.IOException
import java.util.* import java.util.*

View file

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.5.30' ext.kotlin_version = '1.5.31'
repositories { repositories {
mavenCentral() mavenCentral()
google() google()