This PR introduces a new flag to the ModuleSettings class called requiredModuleDependencies. This flag is intended as a substitute for the existing moduleDependencies, not a replacement. Current module builds should be unaffected.
In order to utilize this flag, requiredIgnitionVersion will need to also be set to at least 8.3.0. To simplify the usage of this new property, this PR also adds a Kotlin DSL to parse user input into a new RequiredModuleDependency class. Usage of this DSL is in the following form:
This PR also includes unit tests for the WriteModuleXml class which previously had none. These tests are for usage of both the new flag as well as the original.
This PR introduces a new flag to the
ModuleSettings
class calledrequiredModuleDependencies
. This flag is intended as a substitute for the existingmoduleDependencies
, not a replacement. Current module builds should be unaffected.In order to utilize this flag,
requiredIgnitionVersion
will need to also be set to at least 8.3.0. To simplify the usage of this new property, this PR also adds a Kotlin DSL to parse user input into a newRequiredModuleDependency
class. Usage of this DSL is in the following form:This PR also includes unit tests for the
WriteModuleXml
class which previously had none. These tests are for usage of both the new flag as well as the original.