We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b049d97 commit 25d8db1Copy full SHA for 25d8db1
modules/bcv-gradle-plugin/src/main/kotlin/tasks/BCVApiCheckTask.kt
@@ -103,7 +103,11 @@ abstract class BCVApiCheckTask @Inject constructor(
103
)
104
}
105
106
- val diff = compareFiles(projectApiDeclaration, buildApiDeclaration)
+ val diff = compareFiles(
107
+ // use RelativePath.getFile() to fetch the files, because it's case-insensitive
108
+ checkFile = expectedApiDeclaration.getFile(projectApiDeclaration.parentFile),
109
+ builtFile = expectedApiDeclaration.getFile(buildApiDeclaration.parentFile),
110
+ )
111
val diffSet = mutableSetOf<String>()
112
if (diff != null) diffSet.add(diff)
113
if (diffSet.isNotEmpty()) {
0 commit comments