This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-cli/assets/android/settings.gradle

14 lines
516 B
Groovy
Raw Normal View History

include ':app'
rootProject.name='__$__'
def nodeModuleDir = new File(rootDir.getParent() + File.separator + "node_modules")
if (nodeModuleDir.isDirectory()) {
nodeModuleDir.listFiles().each {
if (new File(it.getAbsolutePath() + File.separator + "__doric_library__").exists()) {
println("Find doric plugin library ${it.name} in ${it}")
include ":${it.name}"
project(":${it.name}").projectDir = file(it.getAbsolutePath() + File.separator + "android")
}
}
}