Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Oct 27, 2023
1 parent e6abc13 commit 8d82679
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8d82679

Please sign in to comment.