Skip to content

Commit bab26b2

Browse files
authored
chore: Gradle kotlin plugin bump to 1.3.10 and BlurView patched (#936)
* chore: Upgrade gradle kotlin plugin to 1.3.10 * chore: Apply patch to use BlurView fork via jitpack Patch applied: [See this issue](Kureev/react-native-blur#444)
1 parent f516b79 commit bab26b2

File tree

4 files changed

+48
-5
lines changed

4 files changed

+48
-5
lines changed

examples/NativeMessaging/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
targetSdkVersion = 30
99
androidXCore = "1.0.2"
1010
ndkVersion = "20.1.5948944"
11-
kotlinVersion = '1.3.0'
11+
kotlinVersion = '1.3.10'
1212
// Put here other AndroidX dependencies
1313
}
1414
repositories {
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff --git a/node_modules/@react-native-community/blur/android/build.gradle b/node_modules/@react-native-community/blur/android/build.gradle
2+
index 8177235..5d310b9 100644
3+
--- a/node_modules/@react-native-community/blur/android/build.gradle
4+
+++ b/node_modules/@react-native-community/blur/android/build.gradle
5+
@@ -9,7 +9,6 @@ buildscript {
6+
if (project == rootProject) {
7+
repositories {
8+
google()
9+
- jcenter()
10+
}
11+
12+
dependencies {
13+
@@ -37,11 +36,12 @@ android {
14+
15+
repositories {
16+
google()
17+
- jcenter()
18+
+
19+
+ maven { url 'https://jitpack.io' }
20+
}
21+
22+
dependencies {
23+
//noinspection GradleDynamicVersion
24+
implementation 'com.facebook.react:react-native:+'
25+
- implementation 'com.eightbitlab:blurview:1.6.3'
26+
+ implementation 'com.github.Dimezis:BlurView:version-1.6.6'
27+
}

examples/SampleApp/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
targetSdkVersion = 30
99
androidXCore = "1.0.2"
1010
ndkVersion = "20.1.5948944"
11-
kotlinVersion = '1.3.0'
11+
kotlinVersion = '1.3.10'
1212
}
1313
repositories {
1414
google()
Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
diff --git a/node_modules/@react-native-community/blur/android/build.gradle b/node_modules/@react-native-community/blur/android/build.gradle
2-
index 8177235..b401cb8 100644
2+
index 8177235..5d310b9 100644
33
--- a/node_modules/@react-native-community/blur/android/build.gradle
44
+++ b/node_modules/@react-native-community/blur/android/build.gradle
5-
@@ -43,5 +43,5 @@ repositories {
5+
@@ -9,7 +9,6 @@ buildscript {
6+
if (project == rootProject) {
7+
repositories {
8+
google()
9+
- jcenter()
10+
}
11+
12+
dependencies {
13+
@@ -37,11 +36,12 @@ android {
14+
15+
repositories {
16+
google()
17+
- jcenter()
18+
+
19+
+ maven { url 'https://jitpack.io' }
20+
}
21+
622
dependencies {
723
//noinspection GradleDynamicVersion
824
implementation 'com.facebook.react:react-native:+'
925
- implementation 'com.eightbitlab:blurview:1.6.3'
10-
+ implementation 'com.eightbitlab:blurview:1.6.6'
26+
+ implementation 'com.github.Dimezis:BlurView:version-1.6.6'
1127
}

0 commit comments

Comments
 (0)