GarouDan
04/22/2019, 12:23 PMqualified names
of my modules on IntelliJ? Or how can I configure the qualified modules names in .gradle.kts
files?
When importing a gradle project I would like it automatically creates the modules tree, but it is not creating it properly.
Since the other option explicit module groups
seems to be something manual, that will disappear in the next project refresh, I would like to create something persistent,
that will work across projects re-imports.AdrianRaFo
04/22/2019, 12:53 PMit is not creating it properly
?GarouDan
04/22/2019, 3:51 PMa
, a-a1
, a-a1-a11
it appears like
a
,
a-a1
a-a1-a11
when it should be:
a
a-a1
a-a1-a11
like a tree.
I did a simple test on a project with some theoretical modules and it works.
But in my current project it is not working. I’ve checked the module names and their hierarchy and it looks good, but they appear like a plain list, instead of a tree.AdrianRaFo
04/22/2019, 3:54 PMsettings.gradle
file include ':a-a1'
if you want a-a1
as a submodule of a
the module a
settings file should have the include
expressionGarouDan
04/22/2019, 3:54 PMGarouDan
04/22/2019, 3:54 PMGarouDan
04/22/2019, 3:56 PMapplication-backend-jvm
module should be inside the application-backend
one.GarouDan
04/22/2019, 3:58 PMinclude(":application")
project(":application").projectDir = .../application
include(":application:application-backend")
project(":application:application-backend").projectDir = .../application/backend
include(":application:application-backend:application-backend:application-backend-jvm")
project(":application:application-backend:application-backend-jvm").projectDir = .../application/backend/jvm
where I’m omitting correct way to define the part .../
for brevityGarouDan
04/22/2019, 3:59 PMrootProject.name = "root"
include(":a:a-a1:a-a1-a11")
project(":a:a-a1:a-a1-a11").projectDir = File(rootProject.projectDir, "a/a1/a11")
include(":b:b-a1:b-a1-a11")
project(":b:b-a1:b-a1-a11").projectDir = File(rootProject.projectDir, "b/a1/a11")
GarouDan
04/22/2019, 4:01 PMinclude(":application:application-backend:application-backend:application-backend-jvm")
project(":application:application-backend:application-backend-jvm").projectDir = File(rootProject.projectDir, "application/backend/jvm")
but Intellij create new folders with names like application-backend
with iml
files inside.
But as you can see, in the other example with a
and b
modules it is working =/AdrianRaFo
04/22/2019, 4:06 PMGarouDan
04/22/2019, 4:07 PMgit clean -fdx
.
But even after reimporting it still remains plane =/, unfortunately