Skip to content

Commit

Permalink
Merge pull request #13 from nevissecurity/feature/NEVISACCESSAPP-5452-…
Browse files Browse the repository at this point in the history
…retrieve-local-properties-from-root-project

NEVISACCESSAPP-5452: Always access local.properties from root project
  • Loading branch information
balazs-gerlei authored Feb 22, 2024
2 parents 0eaefb7 + 77461da commit c939675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
}

ext.getConfig = { String name ->
File localPropertiesFile = project.file('local.properties')
File localPropertiesFile = project.rootProject.file('local.properties')
if (localPropertiesFile?.exists()) {
Properties localProperties = new Properties()
localProperties.load(localPropertiesFile.newDataInputStream())
Expand Down

0 comments on commit c939675

Please sign in to comment.