File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/create-react-native-library/templates/native-common/android Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- // Buildscript is evaluated before everything else so we can't use getExtOrDefault
32 ext. getExtOrDefault = {name ->
43 return rootProject. ext. has(name) ? rootProject. ext. get(name) : project. properties[' <%- project.name -%>_' + name]
54 }
@@ -10,7 +9,7 @@ buildscript {
109 }
1110
1211 dependencies {
13- classpath " com.android.tools.build:gradle:${ getExtOrDefault('gradleVersion') } "
12+ classpath " com.android.tools.build:gradle:8.7.2 "
1413 // noinspection DifferentKotlinGradleVersion
1514 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:${ getExtOrDefault('kotlinVersion')} "
1615 }
@@ -34,10 +33,6 @@ if (isNewArchitectureEnabled()) {
3433 apply plugin : " com.facebook.react"
3534}
3635
37- def getExtOrDefault (name ) {
38- return rootProject. ext. has(name) ? rootProject. ext. get(name) : project. properties[" <%- project.name -%>_" + name]
39- }
40-
4136def getExtOrIntegerDefault (name ) {
4237 return rootProject. ext. has(name) ? rootProject. ext. get(name) : (project. properties[" <%- project.name -%>_" + name]). toInteger()
4338}
You can’t perform that action at this time.
0 commit comments