+ | defaultconf | the default conf to use in this ivy file since 2.2 | No, defaults to no default conf |
| defaultconfmapping | the default conf mapping to use in this ivy file since 1.3 |
No, defaults to no default conf mapping |
| confmappingoverride | true to activate configuration mapping override, false otherwise since 1.4 |
@@ -86,6 +92,22 @@ But when you set confmappingoverride to true, Ivy will construct the following d
As you can see, the defaultmappings of the extending configurations are also added (although you didn't explicitly defined them)
When you now resolve the conf2 configuration, you'll get the other2 dependencies of your other-module.
+
+Examples involving defaultconf and defaultconfmapping
+The table below indicates how Ivy interprets the conf attribute according to how [[ivyfile/configurations defaultconfmapping]] and [[ivyfile/configurations defaultconf]] are set:| defaultconf | defaultconfmapping | conf | ivy interpretation |
+
+
+ | | | *->* |
+ | | runtime | runtime->runtime |
+ | | test | test->test |
+runtime | | | runtime->runtime |
+runtime | runtime->*;test->default | | runtime->* |
+runtime | runtime->*;test->default | test | test->default |
+ | runtime->*;test->default | | runtime->*;test->default |
+ | runtime->*;test->default | runtime | runtime->* |
+ | runtime->*;test->default | test | test->default |
+
+