Build: Fix various warnings in build files

Required for Gradle 7+ #KTI-559
This commit is contained in:
Vyacheslav Gerasimov
2021-08-11 22:23:12 +03:00
parent 5d6e8e42aa
commit 8d2fafa3ce
9 changed files with 26 additions and 25 deletions
@@ -238,6 +238,7 @@ task trove4jCopy(type: Copy) {
externalJars.each { arg ->
def jar = arg.replace('_', '-') // :(
task("${arg}Copy", type: Copy) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from configurations.getByName("kotlin_${arg}_jar") {
include "kotlin-${jar}*.jar"
rename "kotlin-${jar}(.*).jar", "kotlin-${jar}.jar"