success to call promise
This commit is contained in:
@@ -28,6 +28,15 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
buildJSBundle.exec()
|
||||
}
|
||||
|
||||
task buildJSBundle(type: Exec) {
|
||||
workingDir project.rootDir.getParent() + "/js-framework"
|
||||
commandLine 'npm', 'run', 'build'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
|
||||
@@ -35,5 +44,5 @@ dependencies {
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
implementation 'com.github.pengfeizhou:jsc4a:0.1.0'
|
||||
api 'com.github.pengfeizhou:jsc4a:0.1.0'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user