JPS plugin: Cleanup dependencies

- Some unnecessary dependencies are dropped
- `api` is replaced with `implementation` when it's more appropriate (in
  our case more appropriate everywhere). `implementation` makes it
  easier to analyze dependencies because it doesn't export the
  dependencies
- Regarding: `// Workaround for Gradle dependency resolution error`.
  Actually, it's not longer needed for the successful project import.
  Confirmed by Yahor and tested locally.
This commit is contained in:
Nikita Bobko
2022-05-26 21:02:21 +02:00
parent b06aae229a
commit 0cb256a999
3 changed files with 30 additions and 43 deletions
@@ -6,9 +6,8 @@ plugins {
}
dependencies {
api(project(":kotlin-build-common"))
api(project(":kotlin-daemon-client"))
api(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
implementation(project(":kotlin-daemon-client"))
implementation(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
compileOnly(project(":compiler:cli-common"))
compileOnly(project(":kotlin-preloader"))