Remove unneeded dependencies of module 'generators'
Previously, the classpath of this module was used to run all tests in the project. This is why it depended on almost all modules in the project. Now, in the Gradle build, these dependencies are no longer needed
This commit is contained in:
@@ -2,27 +2,7 @@
|
|||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(protobufFull())
|
|
||||||
compile(project(":idea"))
|
|
||||||
compile(project(":idea:idea-jvm"))
|
|
||||||
compile(project(":j2k"))
|
|
||||||
compile(project(":compiler:util"))
|
|
||||||
compile(project(":compiler:cli"))
|
|
||||||
compile(project(":compiler:backend"))
|
|
||||||
compile(project(":compiler:frontend"))
|
|
||||||
compile(project(":compiler:frontend.java"))
|
|
||||||
compile(project(":compiler:backend"))
|
|
||||||
compile(project(":js:js.ast"))
|
|
||||||
compile(project(":js:js.frontend"))
|
|
||||||
compile(project(":idea:idea-test-framework"))
|
|
||||||
compile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
|
||||||
compile(projectTests(":kotlin-build-common"))
|
|
||||||
compile(projectTests(":compiler:tests-common"))
|
|
||||||
compile(projectTests(":compiler:container"))
|
|
||||||
compile(projectTests(":compiler:incremental-compilation-impl"))
|
|
||||||
compile(projectTests(":compiler:cli"))
|
compile(projectTests(":compiler:cli"))
|
||||||
compile(projectTests(":idea"))
|
|
||||||
compile(projectTests(":idea:idea-gradle"))
|
|
||||||
compile(projectTests(":idea:idea-maven"))
|
compile(projectTests(":idea:idea-maven"))
|
||||||
compile(projectTests(":j2k"))
|
compile(projectTests(":j2k"))
|
||||||
compile(projectTests(":idea:idea-android"))
|
compile(projectTests(":idea:idea-android"))
|
||||||
@@ -34,17 +14,10 @@ dependencies {
|
|||||||
compile(projectTests(":kotlin-allopen-compiler-plugin"))
|
compile(projectTests(":kotlin-allopen-compiler-plugin"))
|
||||||
compile(projectTests(":kotlin-noarg-compiler-plugin"))
|
compile(projectTests(":kotlin-noarg-compiler-plugin"))
|
||||||
compile(projectTests(":kotlin-sam-with-receiver-compiler-plugin"))
|
compile(projectTests(":kotlin-sam-with-receiver-compiler-plugin"))
|
||||||
compile(projectTests(":plugins:uast-kotlin"))
|
|
||||||
compile(projectTests(":js:js.tests"))
|
|
||||||
compile(projectTests(":generators:test-generator"))
|
compile(projectTests(":generators:test-generator"))
|
||||||
compileOnly(intellijDep("jps-build-test"))
|
compileOnly(intellijDep("jps-build-test"))
|
||||||
compileOnly(project(":kotlin-reflect-api"))
|
compileOnly(project(":kotlin-reflect-api"))
|
||||||
|
|
||||||
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
|
|
||||||
testCompile(project(":compiler:incremental-compilation-impl"))
|
|
||||||
testCompile(commonDep("junit:junit"))
|
|
||||||
testCompile(intellijDep("jps-build-test"))
|
testCompile(intellijDep("jps-build-test"))
|
||||||
|
|
||||||
testRuntime(intellijDep()) { includeJars("idea_rt") }
|
testRuntime(intellijDep()) { includeJars("idea_rt") }
|
||||||
testRuntime(projectDist(":kotlin-reflect"))
|
testRuntime(projectDist(":kotlin-reflect"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user