Do not depend on Shadow plugin in subprojects

Since buildSrc depends on the Shadow plugin, it's already in the
classpath of all build scripts
This commit is contained in:
Alexander Udalov
2017-11-16 17:43:49 +01:00
parent ad0cd7c176
commit 5338df6960
8 changed files with 2 additions and 52 deletions
@@ -2,16 +2,6 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
description = "Kotlin compiler client embeddable"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:${property("versions.shadow")}")
}
}
plugins {
maven
}
-6
View File
@@ -1,4 +1,3 @@
import java.io.File
import proguard.gradle.ProGuardTask
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
@@ -7,12 +6,7 @@ import org.gradle.api.file.DuplicatesStrategy
description = "Kotlin Compiler"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:${property("versions.shadow")}")
classpath("net.sf.proguard:proguard-gradle:${property("versions.proguard")}")
}
}
-11
View File
@@ -1,19 +1,8 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.gradle.jvm.tasks.Jar
description = "Kotlin IDEA plugin"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:${property("versions.shadow")}")
}
}
plugins {
`java-base`
}
-11
View File
@@ -1,18 +1,7 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
description = "Kotlin JPS plugin"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:${property("versions.shadow")}")
}
}
plugins {
`java-base`
}