mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 11:26:24 +02:00
Fix file trees
This commit is contained in:
parent
4d2add5264
commit
853b6f29ce
1 changed files with 6 additions and 3 deletions
|
@ -50,7 +50,7 @@ ext.outputTree = fileTree("${buildDir}/publish") {
|
|||
}
|
||||
|
||||
ext.publishTree = fileTree(publishDirectory) {
|
||||
include '**/*.so'
|
||||
include ext.outputTree.getFiles().collect { it.getName().toLowerCase() }.findAll { it.endsWith(".so") }
|
||||
builtBy 'compileLibRyujinx'
|
||||
}
|
||||
|
||||
|
@ -87,10 +87,13 @@ tasks.register('compileLibRyujinx', Exec) {
|
|||
include '*.so'
|
||||
into publishDirectory
|
||||
rename (String originalName) -> originalName.toLowerCase()
|
||||
duplicatesStrategy 'include'
|
||||
duplicatesStrategy 'fail'
|
||||
preserve {
|
||||
include '.*'
|
||||
include '.gitkeep'
|
||||
include '*.so'
|
||||
exclude {
|
||||
project.ext.publishTree
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue