max.denissov
06/07/2019, 7:33 AMDico
06/07/2019, 11:03 AMmax.denissov
06/07/2019, 1:37 PMmodule: common_domain
has class : User
module: common_client
has dependency: common_domain
has class : UserInfoPresenter
app: web
has dependency: common_client
I can not use the UserInfoPresenter, all classes are available from common_domain but not from common_client.
/** Web App **/
dependencies {
implementation project(':common_client')
}
/** Common client **/
targets {
fromPreset(presets.js, 'js')
}
/** Common domain **/
targets {
js() {
configure([compilations.main, compilations.test]) {
tasks.getByName(compileKotlinTaskName).kotlinOptions {
sourceMap = true
moduleKind = "commonjs"
metaInfo = true
}
}
configure(compilations.main) {
tasks.getByName(compileKotlinTaskName).kotlinOptions {
main = "call"
}
}
}
}
Dico
06/07/2019, 2:12 PMimplementation
to declare dependencies?max.denissov
06/10/2019, 4:15 AM/** Web App **/
dependencies {
implementation project(':common_client')
}
Dico
06/10/2019, 10:42 AMapi