Hook up the android kotlin code to the send js code (#860)

This commit is contained in:
Donovan Preston
2018-07-27 09:11:46 -04:00
committed by GitHub
parent 5c7b4ace9a
commit a80d007e0c
16 changed files with 317 additions and 222 deletions
+9
View File
@@ -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
}