Skip to content

Commit

Permalink
Merge pull request breez#1122 from larcho/android-gradle-project-dir
Browse files Browse the repository at this point in the history
Android: Replaced with "$rootDir" with "$projectDir"
  • Loading branch information
dangeross authored Nov 18, 2024
2 parents 63f04b1 + d1b3c04 commit f30ebd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sdk-react-native/android/build.gradle
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f30ebd5

Please sign in to comment.