android:update build.gradle

This commit is contained in:
pengfei.zhou 2020-04-27 15:56:43 +08:00 committed by osborn
parent ab28256916
commit 14c8b94a93

View File

@ -27,13 +27,12 @@ android {
}
}
}
afterEvaluate {
buildJSBundle.exec()
}
task buildJSBundle(type: Exec) {
commandLine 'sh', project.rootDir.getParent() + "/bundle.sh"
commandLine 'sh', project.getProjectDir().getParent() + "/../bundle.sh"
}
dependencies {
@ -63,4 +62,6 @@ dependencies {
implementation 'com.facebook.yoga.android:yoga-layout:1.16.0'
}
if (new File('scripts/upload.gradle').exists()) {
apply from: rootProject.file('scripts/upload.gradle')
}