|
@@ -1,6 +1,6 @@
|
1
|
1
|
buildscript {
|
2
|
2
|
//Buildscript is evaluated before everything else so we can't use getExtOrDefault
|
3
|
|
- def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['ReactNativeWebview_kotlinVersion']
|
|
3
|
+ def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['ReactNativeWebView_kotlinVersion']
|
4
|
4
|
|
5
|
5
|
repositories {
|
6
|
6
|
google()
|
|
@@ -15,11 +15,11 @@ buildscript {
|
15
|
15
|
}
|
16
|
16
|
|
17
|
17
|
def getExtOrDefault(name) {
|
18
|
|
- return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['ReactNativeWebview_' + name]
|
|
18
|
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['ReactNativeWebView_' + name]
|
19
|
19
|
}
|
20
|
20
|
|
21
|
21
|
def getExtOrIntegerDefault(name) {
|
22
|
|
- return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['ReactNativeWebview_' + name]).toInteger()
|
|
22
|
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['ReactNativeWebView_' + name]).toInteger()
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
apply plugin: 'com.android.library'
|