Hook up the android kotlin code to the send js code (#860)
This commit is contained in:
parent
5c7b4ace9a
commit
a80d007e0c
16 changed files with 317 additions and 222 deletions
|
@ -32,3 +32,12 @@ dependencies {
|
|||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
implementation 'com.github.delight-im:Android-AdvancedWebView:v3.0.0'
|
||||
}
|
||||
|
||||
task generateAndLinkBundle(type: Exec, description: 'Generate the android.js bundle and link it into the assets directory') {
|
||||
commandLine 'node'
|
||||
args '../generateAndLinkBundle.js'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
compileTask -> compileTask.dependsOn generateAndLinkBundle
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue