@@ -42,35 +42,35 @@ abstract class PreparePrefabHeadersTask : DefaultTask() {
4242 input.get().forEach { (libraryName, pathToPrefixCouples) ->
4343 val outputFolder: RegularFile = outputDir.file(libraryName).get()
4444 pathToPrefixCouples.forEach { (headerPath, headerPrefix) ->
45- fs.copy {
46- it .from(headerPath)
47- it .include(" **/*.h" )
48- it .exclude(" **/*.cpp" )
49- it .exclude(" **/*.txt" )
45+ fs.copy { copySpec ->
46+ copySpec .from(headerPath)
47+ copySpec .include(" **/*.h" )
48+ copySpec .exclude(" **/*.cpp" )
49+ copySpec .exclude(" **/*.txt" )
5050 // We don't want to copy all the boost headers as they are 250Mb+
51- it .include(" boost/config.hpp" )
52- it .include(" boost/config/**/*.hpp" )
53- it .include(" boost/core/*.hpp" )
54- it .include(" boost/detail/workaround.hpp" )
55- it .include(" boost/operators.hpp" )
56- it .include(" boost/preprocessor/**/*.hpp" )
51+ copySpec .include(" boost/config.hpp" )
52+ copySpec .include(" boost/config/**/*.hpp" )
53+ copySpec .include(" boost/core/*.hpp" )
54+ copySpec .include(" boost/detail/workaround.hpp" )
55+ copySpec .include(" boost/operators.hpp" )
56+ copySpec .include(" boost/preprocessor/**/*.hpp" )
5757 // Headers needed for exposing rrc_text and rrc_textinput
58- it .include(" boost/container_hash/**/*.hpp" )
59- it .include(" boost/detail/**/*.hpp" )
60- it .include(" boost/intrusive/**/*.hpp" )
61- it .include(" boost/iterator/**/*.hpp" )
62- it .include(" boost/move/**/*.hpp" )
63- it .include(" boost/mpl/**/*.hpp" )
64- it .include(" boost/mp11/**/*.hpp" )
65- it .include(" boost/describe/**/*.hpp" )
66- it .include(" boost/type_traits/**/*.hpp" )
67- it .include(" boost/utility/**/*.hpp" )
68- it .include(" boost/assert.hpp" )
69- it .include(" boost/static_assert.hpp" )
70- it .include(" boost/cstdint.hpp" )
71- it .include(" boost/utility.hpp" )
72- it .include(" boost/version.hpp" )
73- it .into(File (outputFolder.asFile, headerPrefix))
58+ copySpec .include(" boost/container_hash/**/*.hpp" )
59+ copySpec .include(" boost/detail/**/*.hpp" )
60+ copySpec .include(" boost/intrusive/**/*.hpp" )
61+ copySpec .include(" boost/iterator/**/*.hpp" )
62+ copySpec .include(" boost/move/**/*.hpp" )
63+ copySpec .include(" boost/mpl/**/*.hpp" )
64+ copySpec .include(" boost/mp11/**/*.hpp" )
65+ copySpec .include(" boost/describe/**/*.hpp" )
66+ copySpec .include(" boost/type_traits/**/*.hpp" )
67+ copySpec .include(" boost/utility/**/*.hpp" )
68+ copySpec .include(" boost/assert.hpp" )
69+ copySpec .include(" boost/static_assert.hpp" )
70+ copySpec .include(" boost/cstdint.hpp" )
71+ copySpec .include(" boost/utility.hpp" )
72+ copySpec .include(" boost/version.hpp" )
73+ copySpec .into(File (outputFolder.asFile, headerPrefix))
7474 }
7575 }
7676 }
0 commit comments