mavenCentral -> mavenLocal and Dependencies updated

This commit is contained in:
shabinder 2021-05-15 23:25:06 +05:30
parent cc7fc98720
commit 222d0f706d
7 changed files with 12 additions and 13 deletions

View File

@ -24,7 +24,7 @@ allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
// mavenLocal()
maven(url = "https://jitpack.io")
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven(url = "https://dl.bintray.com/kotlin/kotlin-js-wrappers")

View File

@ -23,7 +23,7 @@ version = "2.1"
repositories {
google()
mavenLocal()
// mavenLocal()
mavenCentral()
maven(url = "https://jitpack.io")
maven(url = "https://plugins.gradle.org/m2/")

View File

@ -34,7 +34,7 @@ object Versions {
const val kermit = "0.1.8"
// Internet
const val ktor = "1.5.3"
const val ktor = "1.5.4"
const val kotlinxSerialization = "1.2.0"
@ -135,9 +135,8 @@ object Ktor {
}
object Extras {
//const val youtubeDownloader = "com.github.sealedtx:java-youtube-downloader:2.5.1"
const val youtubeDownloader = "com.shabinder.downloader:youtube-api-dl:0.1" //Local Maven
const val fuzzyWuzzy = "me.xdrop:fuzzywuzzy:1.3.1"
const val youtubeDownloader = "io.github.shabinder:youtube-api-dl:1.0"
const val fuzzyWuzzy = "io.github.shabinder:fuzzywuzzy:1.1"
const val mp3agic = "com.mpatric:mp3agic:0.9.0"
const val jaudioTagger = "com.github.Shabinder:JAudioTagger-Android:1.0"
const val kermit = "co.touchlab:kermit:${Versions.kermit}"

View File

@ -31,9 +31,9 @@ kotlin {
implementation(project(":common:database"))
implementation("org.jetbrains.kotlinx:atomicfu:0.16.1")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0")
implementation("com.shabinder.fuzzywuzzy:fuzzywuzzy:1.0")
implementation("com.russhwolf:multiplatform-settings-no-arg:0.7.6")
implementation(Extras.youtubeDownloader)
implementation(Extras.fuzzyWuzzy)
implementation(MVIKotlin.rx)
}
}

View File

@ -40,7 +40,7 @@ import com.shabinder.common.models.DownloadResult
import com.shabinder.common.models.DownloadStatus
import com.shabinder.common.models.Status
import com.shabinder.common.models.TrackDetails
import com.shabinder.downloader.models.formats.Format
import io.github.shabinder.models.formats.Format
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job

View File

@ -21,7 +21,7 @@ import com.shabinder.common.di.gaana.corsApi
import com.shabinder.common.di.utils.postData
import com.shabinder.common.models.TrackDetails
import com.shabinder.common.models.YoutubeTrack
import com.shabinder.fuzzywuzzy.diffutils.FuzzySearch
import io.github.shabinder.fuzzywuzzy.diffutils.FuzzySearch
import io.ktor.client.HttpClient
import io.ktor.client.request.headers
import io.ktor.client.request.post

View File

@ -24,10 +24,10 @@ import com.shabinder.common.models.DownloadStatus
import com.shabinder.common.models.PlatformQueryResult
import com.shabinder.common.models.TrackDetails
import com.shabinder.common.models.spotify.Source
import com.shabinder.downloader.YoutubeDownloader
import com.shabinder.downloader.models.YoutubeVideo
import com.shabinder.downloader.models.formats.Format
import com.shabinder.downloader.models.quality.AudioQuality
import io.github.shabinder.YoutubeDownloader
import io.github.shabinder.models.YoutubeVideo
import io.github.shabinder.models.formats.Format
import io.github.shabinder.models.quality.AudioQuality
import io.ktor.client.HttpClient
class YoutubeProvider(