diff --git a/README.md b/README.md index 0a20452f9..d592fdf71 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ Here is the libraries - [material-design-icons](https://github.com/google/material-design-icons) - [jsoup](https://github.com/jhy/jsoup) - [okhttp](https://github.com/square/okhttp) -- [Ktor](https://ktor.io/) - [RikkaX](https://github.com/RikkaApps/RikkaX) - [libarchive](http://www.libarchive.org/) - [XZ Utils](https://tukaani.org/xz/) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9e12c9968..265156e52 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -204,11 +204,3 @@ configurations.all { exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7") exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8") } - -repositories { - google() - mavenCentral() - maven("https://jcenter.bintray.com") - maven("https://jitpack.io") - maven("https://androidx.dev/storage/compose-compiler/repository/") -} diff --git a/build.gradle.kts b/build.gradle.kts index 3d71d8fd9..04eb0455c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,14 +5,6 @@ plugins { id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false } -repositories { - google() - mavenCentral() - maven("https://jcenter.bintray.com") - maven("https://jitpack.io") - maven("https://androidx.dev/storage/compose-compiler/repository/") -} - tasks.register("Delete", Delete::class) { delete(rootProject.buildDir) } diff --git a/docs/README/en.md b/docs/README/en.md index 41553a914..7a69804d2 100644 --- a/docs/README/en.md +++ b/docs/README/en.md @@ -85,7 +85,6 @@ Here is the libraries - [material-design-icons](https://github.com/google/material-design-icons) - [jsoup](https://github.com/jhy/jsoup) - [okhttp](https://github.com/square/okhttp) -- [Ktor](https://ktor.io/) - [RikkaX](https://github.com/RikkaApps/RikkaX) - [libarchive](http://www.libarchive.org/) - [XZ Utils](https://tukaani.org/xz/) diff --git a/docs/README/zh-cn.md b/docs/README/zh-cn.md index 651e27da3..f815737f4 100644 --- a/docs/README/zh-cn.md +++ b/docs/README/zh-cn.md @@ -85,7 +85,6 @@ - [material-design-icons](https://github.com/google/material-design-icons) - [jsoup](https://github.com/jhy/jsoup) - [okhttp](https://github.com/square/okhttp) -- [Ktor](https://ktor.io/) - [RikkaX](https://github.com/RikkaApps/RikkaX) - [libarchive](http://www.libarchive.org/) - [XZ Utils](https://tukaani.org/xz/) diff --git a/docs/README/zh-tw.md b/docs/README/zh-tw.md index 6e094e5f6..7adf5e94c 100644 --- a/docs/README/zh-tw.md +++ b/docs/README/zh-tw.md @@ -85,7 +85,6 @@ - [material-design-icons](https://github.com/google/material-design-icons) - [jsoup](https://github.com/jhy/jsoup) - [okhttp](https://github.com/square/okhttp) -- [Ktor](https://ktor.io/) - [RikkaX](https://github.com/RikkaApps/RikkaX) - [libarchive](http://www.libarchive.org/) - [XZ Utils](https://tukaani.org/xz/) diff --git a/settings.gradle.kts b/settings.gradle.kts index 4f3839b36..103108a90 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,6 +6,17 @@ pluginManagement { } } +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + maven("https://jcenter.bintray.com") + maven("https://jitpack.io") + maven("https://androidx.dev/storage/compose-compiler/repository/") + } +} + enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") rootProject.name = "EhViewer" include(":app")