Address deprecated 'Project.buildDir' in build scripts (#4191)

This commit is contained in:
Alexander Brandes 2023-10-01 14:07:36 +02:00 committed by GitHub
parent 12a4c92ad9
commit 79454da1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,8 @@ tasks.processResources {
doLast {
copy {
from(File("$rootDir/LICENSE"))
into("$buildDir/resources/main/")
from(layout.buildDirectory.file("$rootDir/LICENSE"))
into(layout.buildDirectory.dir("resources/main"))
}
}
}