this submodule name is test with build.kts file co...
# kotlin-dsl
d
this submodule name is test with build.kts file contains
Copy code
configurations.create("default")
artifacts {
  add("default", files("1st.aar"))
  add("default", file("2nd.aar"))
}
trying to add this 2 .aar files in submodules then this submodule is added in another core module like this
Copy code
implementation(project(":test"))
but the only 1.aar files can be inflated in the core module why the other '2.arr' file data is not coming in that core module can anyone help here.
v
Sounds very unlikely that this is specific to the Kotlin DSL, so the question is actually off-topic here. Besides that, is it maybe because you use
files
in the first line but
file
in the second? 🤷‍♂️ Here is the official docs on how to properly share things between projects: https://docs.gradle.org/current/userguide/cross_project_publications.html
d
I want to use both the aar files @Vampire but in doc there is nothing how can I use both the aar files
v
Can you knit an MCVE?
d
Adding 2 aar files like this not able use functions of both the file. only one is getting called
v
If this should be the MCVE, it neither is C nor V ;-)