expo-libvlc-player 3.4.21 → 3.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,21 @@
1
- apply plugin: 'com.android.library'
1
+ import groovy.json.JsonSlurper
2
2
 
3
- group = 'expo.modules.libvlcplayer'
4
- version = '3.4.21'
3
+ plugins {
4
+ id 'com.android.library'
5
+ id 'expo-module-gradle-plugin'
6
+ }
5
7
 
6
- def expoModulesCorePlugin = new File(project(':expo-modules-core').projectDir.absolutePath, 'ExpoModulesCorePlugin.gradle')
7
- apply from: expoModulesCorePlugin
8
- applyKotlinExpoModulesCorePlugin()
9
- useCoreDependencies()
10
- useExpoPublishing()
8
+ def pkg = new JsonSlurper().parse(file("$projectDir/../package.json"))
11
9
 
12
- buildscript {
13
- ext.safeExtGet = { prop, fallback ->
14
- rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
15
- }
16
- }
10
+ group = 'expo.modules.libvlcplayer'
11
+ version = pkg.version
17
12
 
18
13
  android {
19
14
  namespace 'expo.modules.libvlcplayer'
20
15
 
21
- compileSdkVersion safeExtGet('compileSdkVersion', 35)
22
-
23
16
  defaultConfig {
24
- minSdkVersion safeExtGet('minSdkVersion', 24)
25
- targetSdkVersion safeExtGet('targetSdkVersion', 35)
26
-
27
17
  versionCode 1
28
- versionName '3.4.21'
29
-
18
+ versionName pkg.version
30
19
  consumerProguardFiles('proguard-rules.pro')
31
20
  }
32
21
 
@@ -40,6 +29,5 @@ repositories {
40
29
  }
41
30
 
42
31
  dependencies {
43
- implementation 'com.facebook.react:react-android'
44
32
  implementation 'org.videolan.android:libvlc-all:3.6.5'
45
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-libvlc-player",
3
- "version": "3.4.21",
3
+ "version": "3.4.23",
4
4
  "description": "LibVLC Player for Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "keywords": [
18
18
  "react-native",
19
- "expo",
20
19
  "vlc",
20
+ "expo",
21
21
  "libvlc",
22
22
  "player",
23
23
  "expo-libvlc-player",