Skip to content

Commit 59bcc08

Browse files
author
Nathanael Anderson
authored
Merge pull request #1642 from NativeScript/NathanaelA-patch-1
fix: build.gradle & kotlinVersion
2 parents 56b2edc + 982054d commit 59bcc08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: test-app/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ buildscript {
77
apply from: "$rootDir/gradle-helpers/user_properties_reader.gradle"
88
apply from: "$rootDir/gradle-helpers/paths.gradle"
99
rootProject.ext.userDefinedGradleProperties = getUserProperties("${getAppResourcesPath(userDir)}/Android")
10+
if (rootProject.hasProperty("userDefinedGradleProperties")) {
11+
rootProject.ext.userDefinedGradleProperties.each { entry ->
12+
def propertyName = entry.getKey()
13+
def propertyValue = entry.getValue()
14+
project.ext.set(propertyName, propertyValue)
15+
}
16+
}
1017
}
1118
initialize()
1219

0 commit comments

Comments
 (0)