Build: Drop obsolete dependency handlers

This commit is contained in:
Vyacheslav Gerasimov
2019-01-29 19:34:46 +03:00
parent 25128f07f2
commit 294ba51d0b
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -67,12 +67,9 @@ fun Project.kotlinStdlib(suffix: String? = null): Any {
dependencies.project(listOfNotNull(":kotlin-stdlib", suffix).joinToString("-"))
}
@Deprecated("Depend on the default configuration instead", ReplaceWith("project(name)"))
fun DependencyHandler.projectDist(name: String): ProjectDependency = project(name)
fun DependencyHandler.projectTests(name: String): ProjectDependency = project(name, configuration = "tests-jar")
fun DependencyHandler.projectRuntimeJar(name: String): ProjectDependency = project(name, configuration = "runtimeJar")
fun DependencyHandler.projectArchives(name: String): ProjectDependency = project(name, configuration = "archives")
fun DependencyHandler.projectClasses(name: String): ProjectDependency = project(name, configuration = "classes-dirs")
val Project.protobufVersion: String get() = findProperty("versions.protobuf") as String
+1 -1
View File
@@ -33,7 +33,7 @@ dependencies {
compile(project(":compiler:frontend.java")) { isTransitive = false }
compile(project(":compiler:util")) { isTransitive = false }
compile(project(":js:js.frontend")) { isTransitive = false }
compile(projectClasses(":idea"))
compile(project(":idea")) { isTransitive = false }
compile(project(":idea:idea-jvm")) { isTransitive = false }
compile(project(":idea:idea-core")) { isTransitive = false }
compile(project(":idea:ide-common")) { isTransitive = false }