Skip to content

Commit b19ac68

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Respect correctly .jar files from plugin
1 parent 0ab88fa commit b19ac68

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/services/android-project-service.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,7 @@ class AndroidProjectService extends projectServiceBaseLib.PlatformProjectService
275275
// Handle *.jars inside libs folder
276276
let libsFolderPath = path.join(pluginPlatformsFolderPath, AndroidProjectService.LIBS_FOLDER_NAME);
277277
if(this.$fs.exists(libsFolderPath).wait()) {
278-
let libsFolderContents = this.$fs.readDirectory(libsFolderPath).wait();
279-
_(libsFolderContents)
280-
.filter(libsFolderItem => path.extname(libsFolderItem) === ".jar")
281-
.each(jar => this.addLibrary(path.join(libsFolderPath, jar)).wait())
282-
.value();
278+
this.addLibrary(libsFolderPath).wait();
283279
}
284280

285281
// Handle android libraries

0 commit comments

Comments
 (0)