mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Ignore case when filtering dependencies for buildPlugin task
This commit is contained in:
parent
cb2f7d5eb5
commit
94237297a1
@ -117,8 +117,8 @@ public class MiraiConsoleGradlePlugin : Plugin<Project> {
|
||||
|
||||
from(project.configurations.getByName("runtimeClasspath").copyRecursive { dependency ->
|
||||
for (excludedDependency in IGNORED_DEPENDENCIES_IN_SHADOW + miraiExtension.excludedDependencies) {
|
||||
if (excludedDependency.group == dependency.group
|
||||
&& excludedDependency.name == dependency.name
|
||||
if (excludedDependency.group.equals(dependency.group, ignoreCase = true)
|
||||
&& excludedDependency.name.equals(dependency.name, ignoreCase = true)
|
||||
) return@copyRecursive false
|
||||
}
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user