Skip to content

Commit c2d54ba

Browse files
blagoevplamen5kov
authored andcommitted
exclude ".bin" dir when searching inside "node_modules" dir
1 parent 0b54235 commit c2d54ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build/project-template-gradle/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ dependencies {
161161
compile fileTree(dir: "libs", include: ["**/*.jar"])
162162

163163
// take all jars within the node_modules dir
164-
compile fileTree(dir: nodeModulesDir, include: ["**/platforms/android/**/*.jar"])
164+
compile fileTree(dir: nodeModulesDir, include: ["**/platforms/android/**/*.jar"], exclude: '**/.bin/**')
165165

166166
// take all jars within the lib/Android dir
167167
compile fileTree(dir: libDir, include: ["**/*.jar"])
@@ -292,7 +292,7 @@ task pluginExtend {
292292
// we need to copy all dependencies into a flat dir, as pointed by the repositories configurations at the top
293293
task copyAarDependencies (type: Copy) {
294294
println "$configStage copyAarDependencies"
295-
from fileTree(dir: nodeModulesDir, include: ["**/*.aar"]).files
295+
from fileTree(dir: nodeModulesDir, include: ["**/*.aar"], exclude: '**/.bin/**').files
296296
into "libs/aar"
297297
}
298298

0 commit comments

Comments
 (0)