mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-06 15:44:24 +01:00
Android: Replaced with (#558)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import groovy.json.JsonSlurper
|
||||
|
||||
def getVersionFromNpmPackage() {
|
||||
def inputFile = new File("$rootDir/../node_modules/@breeztech/react-native-breez-sdk-liquid/package.json")
|
||||
def inputFile = new File("$projectDir/../package.json")
|
||||
def packageJson = new JsonSlurper().parseText(inputFile.text)
|
||||
|
||||
return packageJson["version"]
|
||||
@@ -46,7 +46,7 @@ repositories {
|
||||
mavenLocal()
|
||||
maven {
|
||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||
url("$rootDir/../node_modules/react-native/android")
|
||||
url("$projectDir")
|
||||
}
|
||||
google()
|
||||
mavenCentral {
|
||||
|
||||
Reference in New Issue
Block a user