From b8bf6aef1bc6cd6b51c39bc83f7faeef7ed04a0e Mon Sep 17 00:00:00 2001 From: Ali Khaleqi Yekta Date: Sun, 20 Jun 2021 22:46:08 +0430 Subject: [PATCH 1/2] Move gradle plugin dependencies to Deps.Gradle scope --- build.gradle.kts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 992e36a..9ca988c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,12 +7,14 @@ buildscript { } dependencies { - classpath(Deps.Gradle.kotlin) - classpath(Deps.Gradle.kotlinSerialization) - classpath(Deps.Gradle.androidGradle) - classpath(Deps.Gradle.sqlDelight) - classpath(Deps.Gradle.shadow) - classpath(Deps.Gradle.kotlinter) + with(Deps.Gradle) { + classpath(kotlin) + classpath(kotlinSerialization) + classpath(androidGradle) + classpath(sqlDelight) + classpath(shadow) + classpath(kotlinter) + } } } From 0dbfca877592f1002c1e0edb0eb3fd9264de8e93 Mon Sep 17 00:00:00 2001 From: Ali Khaleqi Yekta Date: Sun, 20 Jun 2021 22:47:04 +0430 Subject: [PATCH 2/2] Safely replace `jcenter` with `mavenCentral` --- buildSrc/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index c39a297..b22ed73 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } repositories { - jcenter() + mavenCentral() } \ No newline at end of file