From 428ca53532ff849a99c8c533b534bf910d1c4a48 Mon Sep 17 00:00:00 2001 From: Goooler Date: Fri, 28 May 2021 10:37:23 +0800 Subject: [PATCH] Chore: use "implementation" & remove "exclude" for buildSrc dependencies (#1034) --- buildSrc/build.gradle.kts | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index ad650c1c..d847075e 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -9,20 +9,10 @@ repositories { } dependencies { - implementation(kotlin("stdlib")) - - compileOnly(gradleApi()) - - api(kotlin("gradle-plugin")) - api(kotlin("serialization")) - api("com.android.tools.build:gradle:4.2.1") { - exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8") - exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7") - exclude("org.jetbrains.kotlin", "kotlin-reflect") - } - api("com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.0-1.0.0-alpha10") { - exclude("com.android.tools.build", "gradle") - } + implementation(kotlin("gradle-plugin")) + implementation(kotlin("serialization")) + implementation("com.android.tools.build:gradle:4.2.1") + implementation("com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.0-1.0.0-alpha10") } gradlePlugin {