Skip to content

Commit 1a28e19

Browse files
Fatme HavaluovaPlamen5kov
authored andcommitted
Fix library add command
1 parent 4bbcfa4 commit 1a28e19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/project-template-gradle/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def configurationsDir = "configurations"
3737
def createPluginConfigFile = false
3838
def configStage = "\n:config phase: "
3939
def nodeModulesDir = "../../node_modules/"
40+
def libDir = "../../lib/Android/"
4041
def pluginNames = new ArrayList<String>()
4142
def configDir = file(configurationsDir)
4243
def appResExists = false
@@ -163,6 +164,9 @@ dependencies {
163164

164165
// take all jars within the node_modules dir
165166
compile fileTree(dir: nodeModulesDir, include: ["**/*.jar"])
167+
168+
// take all jars within the lib/Android dir
169+
compile fileTree(dir: libDir, include: ["**/*.jar"])
166170

167171
//when gradle has aar support this will be preferred instead of addAarDependencies
168172
// compile files("$rootDir/libs/aar") {

0 commit comments

Comments
 (0)