My settings.gradle file currently looks like this:...
# multiplatform
s
My settings.gradle file currently looks like this:
rootProject.name = 'MySDK'
include 'MySDK'
enableFeaturePreview('GRADLE_METADATA')
It's based on examples, but I'm struggling to fully grasp what the rootProject.name implies (what are its effects?). Same thing for the include statement. Any documention on this somewhere?
d
That's just standard gradle project setup. There is a root project and then a subproject (module) in a subfolder that you are including. If you had other modules in other folders, you would include them with
include
as well. This page in the gradle docs goes over it, Defining common behavior section near the top has some good examples https://docs.gradle.org/current/userguide/multi_project_builds.html
s
The
include 'MySDK'
line is probably unnecessary since it's the root project itself.