Title
i

iamkdblue

03/09/2021, 3:12 PM
I am trying to make multi module project(kotlin) with gradle, i am not getting any reference on internet , could you guys help with this?
a

ashmelev

03/09/2021, 5:41 PM
Try this: https://github.com/gradle/kotlin-dsl-samples/tree/master/samples/multi-kotlin-project It's a little dated but should be a reasonable staring point
i

iamkdblue

03/10/2021, 3:59 AM
@ashmelev dont you think its old?
i want to create multi module from start with gradle , i found maven example everywhere!
a

ashmelev

03/10/2021, 4:01 AM
No, not especially. It has the basics of a multi-project setup and those have not changed markedly.
I seems to have been updated 11 months ago - not much of significance to multi-project has happened in that time
i

iamkdblue

03/10/2021, 4:02 AM
Thanks for reply, how i create project from start ?
how can i add module in my multi project?
a

ashmelev

03/10/2021, 3:32 PM
I don't have/use any automation for this... I just create the project structure in a directory and then set the
build.gradle
files accordingly (i.e. main
build.gradle
at the project root and then each sub-project has it's own
build.gradle
). Don't forget to add the
settings.gradle
file at the root with a list of all the sub-project (i.e. something like:
include("cli", "core")
[Your names would match the sub-directory names]
i

iamkdblue

03/11/2021, 2:49 AM
Yea got it ! Thanks Finally i build multi project
👍 1