aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
diff options
context:
space:
mode:
authorMatthew Haughton <3flex@users.noreply.github.com>2022-05-28 05:49:27 +1000
committerGitHub <noreply@github.com>2022-05-27 22:49:27 +0300
commit8913c97b25ebf5061ea367129544d7e5186a738d (patch)
tree8f730fd4ab7edc5004e1b20e1c8c341588f31fcd /runners/gradle-plugin
parentad5f857a85ee4a1667197b7b2ddd285c4fc5e463 (diff)
downloaddokka-8913c97b25ebf5061ea367129544d7e5186a738d.tar.gz
dokka-8913c97b25ebf5061ea367129544d7e5186a738d.tar.bz2
dokka-8913c97b25ebf5061ea367129544d7e5186a738d.zip
Remove unused & redundant dependencies for Gradle runner (#2502)
* Remove unused jackson-annotations dependency * Remove redundant `kotlin-reflect` dependency constraint kotlin-reflect is provided as part of the Gradle API at compile & runtime. * Remove redundant dependencies on gradleApi This dependency is added to the "api" configuration by java-gradle-plugin, so is already available in all compile & runtime classpaths.
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/build.gradle.kts11
1 files changed, 0 insertions, 11 deletions
diff --git a/runners/gradle-plugin/build.gradle.kts b/runners/gradle-plugin/build.gradle.kts
index 95ffd9ef..07f29ae0 100644
--- a/runners/gradle-plugin/build.gradle.kts
+++ b/runners/gradle-plugin/build.gradle.kts
@@ -13,14 +13,10 @@ repositories {
dependencies {
api(project(":core"))
- val jackson_version: String by project
- compileOnly("com.fasterxml.jackson.core:jackson-annotations:$jackson_version")
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin")
compileOnly("com.android.tools.build:gradle:4.0.1")
- compileOnly(gradleApi())
compileOnly(gradleKotlinDsl())
testImplementation(project(":test-utils"))
- testImplementation(gradleApi())
testImplementation(gradleKotlinDsl())
testImplementation("org.jetbrains.kotlin:kotlin-gradle-plugin")
testImplementation("com.android.tools.build:gradle:4.0.1")
@@ -32,13 +28,6 @@ dependencies {
.classpath.asFiles.first()
)
)
-
- constraints {
- val kotlin_version: String by project
- compileOnly("org.jetbrains.kotlin:kotlin-reflect:${kotlin_version}") {
- because("kotlin-gradle-plugin and :core both depend on this")
- }
- }
}
val sourceJar by tasks.registering(Jar::class) {