forked from MeloNX/MeloNX
Fix file trees
This commit is contained in:
parent
4d2add5264
commit
853b6f29ce
@ -50,7 +50,7 @@ ext.outputTree = fileTree("${buildDir}/publish") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext.publishTree = fileTree(publishDirectory) {
|
ext.publishTree = fileTree(publishDirectory) {
|
||||||
include '**/*.so'
|
include ext.outputTree.getFiles().collect { it.getName().toLowerCase() }.findAll { it.endsWith(".so") }
|
||||||
builtBy 'compileLibRyujinx'
|
builtBy 'compileLibRyujinx'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,10 +87,13 @@ tasks.register('compileLibRyujinx', Exec) {
|
|||||||
include '*.so'
|
include '*.so'
|
||||||
into publishDirectory
|
into publishDirectory
|
||||||
rename (String originalName) -> originalName.toLowerCase()
|
rename (String originalName) -> originalName.toLowerCase()
|
||||||
duplicatesStrategy 'include'
|
duplicatesStrategy 'fail'
|
||||||
preserve {
|
preserve {
|
||||||
include '.*'
|
include '.gitkeep'
|
||||||
include '*.so'
|
include '*.so'
|
||||||
|
exclude {
|
||||||
|
project.ext.publishTree
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user