Skip to content

Commit 2f9315a

Browse files
committed
Remove .module
1 parent 4b13de6 commit 2f9315a

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'com.vanniktech.maven.publish'
2020
group = 'io.split.client'
2121

2222
ext {
23-
splitVersion = '5.4.3-rc1'
23+
splitVersion = '5.4.3-rc2'
2424
jacocoVersion = '0.8.8'
2525
}
2626

@@ -356,4 +356,15 @@ afterEvaluate {
356356
}
357357
}
358358
}
359+
360+
// Disable Gradle Module Metadata (.module file) to avoid variant ambiguity
361+
// Disable all GenerateModuleMetadata tasks by name pattern
362+
tasks.configureEach { task ->
363+
// Match tasks related to module metadata generation
364+
if (task.name.startsWith('generateMetadataFileFor') ||
365+
task.name == 'generateModuleMetadata' ||
366+
task.class.name.endsWith('GenerateModuleMetadata')) {
367+
task.enabled = false
368+
}
369+
}
359370
}

0 commit comments

Comments
 (0)