mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-27 03:14:56 +03:00
Fixed android build issue
This commit is contained in:
parent
62e5b646b0
commit
215af4f4af
@ -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"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user