gradle:LibsPlugin: обновление фильтрации зависимостей
This commit is contained in:
@@ -57,8 +57,12 @@ class LibsExtention {
|
||||
result[0] = library.lib
|
||||
result[1] = {
|
||||
library.exclude.each { String excludeLibStr ->
|
||||
String[] excludeLib = excludeLibStr.split(':')
|
||||
exclude group: excludeLib[0], module: excludeLib[1]
|
||||
String[] excludeLib = excludeLibStr.split(':', 2)
|
||||
if (excludeLib.length == 2) {
|
||||
exclude group: excludeLib[0], module: excludeLib[1]
|
||||
} else {
|
||||
exclude group: excludeLib[0]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user