Fixed android build issue

This commit is contained in:
Mustafa Buyukcelebi 2018-12-18 17:15:24 +03:00
parent 62e5b646b0
commit 215af4f4af

View File

@ -2,7 +2,7 @@
import groovy.json.JsonSlurper
def getNpmVersion() {
def inputFile = new File("../package.json")
def inputFile = new File(projectDir.getPath() + "/../package.json")
def packageJson = new JsonSlurper().parseText(inputFile.text)
return packageJson["version"]
}