@@ -17,18 +17,19 @@ buildscript {
17
17
afterEvaluate {project ->
18
18
if (project. hasProperty(" android" )) {
19
19
android {
20
- compileSdkVersion 33
21
- buildToolsVersion " 33.0.0"
20
+ compileSdkVersion 34
21
+ buildToolsVersion " 34.0.0"
22
+
22
23
}
23
24
}
24
25
}
25
26
}
26
27
ext {
27
28
buildToolsVersion = " 33.0.0"
28
29
minSdkVersion = 24
29
- compileSdkVersion = 33
30
+ compileSdkVersion = 34
30
31
targetSdkVersion = 33
31
- readerSdkVersion = " [ 1.7.5, 2.0) "
32
+ readerSdkVersion = " 1.7.4 "
32
33
ndkVersion = " 21.4.7075529"
33
34
kotlin_version = ' 1.8.21'
34
35
}
@@ -40,25 +41,19 @@ buildscript {
40
41
}
41
42
}
42
43
dependencies {
43
- classpath(" com.android.tools.build:gradle:7.2.2" )
44
+
45
+ classpath(' com.android.tools.build:gradle:8.5.1' )
44
46
classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21" )
47
+ classpath(" com.facebook.react:react-native-gradle-plugin" )
48
+
45
49
// NOTE: Do not place your application dependencies here; they belong
46
50
// in the individual module build.gradle files
47
51
}
48
52
}
49
53
50
54
allprojects {
51
55
repositories {
52
- exclusiveContent {
53
- filter {
54
- includeGroup " com.facebook.react"
55
- }
56
- forRepository {
57
- maven {
58
- url " $rootDir /../node_modules/react-native/android"
59
- }
60
- }
61
- }
56
+
62
57
maven {
63
58
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
64
59
url(" $rootDir /../node_modules/react-native/android" )
@@ -70,15 +65,8 @@ allprojects {
70
65
maven {
71
66
url " https://sdk.squareup.com/android"
72
67
credentials {
73
- username SQUARE_READER_SDK_APPLICATION_ID
74
- password SQUARE_READER_SDK_REPOSITORY_PASSWORD
75
- }
76
- }
77
- mavenCentral {
78
- // We don't want to fetch react-native from Maven Central as there are
79
- // older versions over there.
80
- content {
81
- excludeGroup " com.facebook.react"
68
+ username SQUARE_READER_SDK_APPLICATION_ID
69
+ password SQUARE_READER_SDK_REPOSITORY_PASSWORD
82
70
}
83
71
}
84
72
google()
0 commit comments