From c3fd8e7e1ab061275ad8aad2c1d691927153b7e2 Mon Sep 17 00:00:00 2001 From: Lars Klassen Date: Mon, 11 Nov 2024 11:32:22 -0300 Subject: [PATCH] Android: Replaced with --- libs/sdk-react-native/android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sdk-react-native/android/build.gradle b/libs/sdk-react-native/android/build.gradle index cf488118e..9e31985ef 100644 --- a/libs/sdk-react-native/android/build.gradle +++ b/libs/sdk-react-native/android/build.gradle @@ -1,7 +1,7 @@ import groovy.json.JsonSlurper def getVersionFromNpmPackage() { - def inputFile = new File("$rootDir/../node_modules/@breeztech/react-native-breez-sdk/package.json") + def inputFile = new File("$projectDir/../package.json") def packageJson = new JsonSlurper().parseText(inputFile.text) return packageJson["version"] @@ -50,7 +50,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 {