[Build] Use impl dependencies for compiler.common.{web,wasm}
Refactor build scripts to use implementation dependencies instead of api for finer grained recompilations.
This commit is contained in:
committed by
Space Team
parent
a04deba7c7
commit
b3bc99a44a
@@ -8,7 +8,8 @@ plugins {
|
||||
dependencies {
|
||||
api(project(":compiler:fir:checkers"))
|
||||
api(project(":compiler:fir:checkers:checkers.web.common"))
|
||||
api(project(":core:compiler.common.wasm"))
|
||||
implementation(project(":core:compiler.common.wasm"))
|
||||
implementation(project(":core:compiler.common.web"))
|
||||
|
||||
// Needed for JS identifier utils
|
||||
implementation(project(":js:js.ast"))
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
api(project(":compiler:fir:checkers"))
|
||||
api(project(":core:compiler.common.wasm"))
|
||||
implementation(project(":core:compiler.common.web"))
|
||||
|
||||
/*
|
||||
* We can't remove this dependency until we use
|
||||
|
||||
@@ -7,7 +7,6 @@ project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
|
||||
|
||||
dependencies {
|
||||
api(project(":core:compiler.common"))
|
||||
api(project(":core:compiler.common.web"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -7,7 +7,6 @@ project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
|
||||
|
||||
dependencies {
|
||||
api(project(":core:compiler.common"))
|
||||
api(project(":core:compiler.common.web"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -3,7 +3,7 @@ plugins {
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
|
||||
configureJvmToolchain(JdkMajorVersion.JDK_1_8)
|
||||
|
||||
dependencies {
|
||||
api(project(":core:compiler.common"))
|
||||
|
||||
@@ -8,6 +8,7 @@ dependencies {
|
||||
api(project(":compiler:util"))
|
||||
api(project(":compiler:frontend"))
|
||||
api(project(":core:compiler.common.js"))
|
||||
implementation(project(":core:compiler.common.web"))
|
||||
api(project(":js:js.ast"))
|
||||
api(project(":js:js.parser"))
|
||||
api(project(":js:js.serializer"))
|
||||
|
||||
Reference in New Issue
Block a user