Skip to content

Commit 59bcc08

Browse files
authored
Merge pull request NativeScript#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

test-app/build.gradle

Lines changed: 7 additions & 0 deletions
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)