enableKotlinModuleRemapping

@get:Input
open val enableKotlinModuleRemapping: Property<Boolean>

Deprecated

Use `KotlinModuleMetadataTransformer` explicitly instead. This will be removed in Shadow 10.

Replace with

import com.github.jengelman.gradle.plugins.shadow.transformers.KotlinModuleMetadataTransformer
transform(KotlinModuleMetadataTransformer::class.java)

Enables remapping of Kotlin module metadata (.kotlin_module) files' contents.

If you enable this option, the Kotlin module metadata file contents will be relocated if they are matched by any of the configured relocators. Note that the file paths of these metadata files are relocated unconditionally regardless of this option. Someone may want to disable this feature and write their own ResourceTransformers to handle Kotlin module metadata files in a custom way.

Defaults to true.