diff --git a/Android/app/build.gradle b/Android/app/build.gradle index d8570600..357adb78 100755 --- a/Android/app/build.gradle +++ b/Android/app/build.gradle @@ -1,9 +1,6 @@ import groovy.json.* -import org.json.* -import com.google.gson.*; apply plugin: 'com.android.application' -apply plugin: 'com.github.node-gradle.node' def inputFile = new File("./../Website/package.json") @@ -105,6 +102,12 @@ configurations.implementation.setCanBeResolved(true) def npmRunPATH = "${System.getenv("PATH")}:./../../Website/node_modules/.bin:./../Website/node_modules/.bin" +tasks.register('npmInstall', Exec) { + workingDir "./../../Website" + environment PATH: npmRunPATH + commandLine "npm", "install", "-f" +} + tasks.register('webDev', Exec) { workingDir "./../../Website" environment PATH: npmRunPATH