@react-native-video/drm 7.0.0-beta.10 → 7.0.0-beta.13
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.
- package/LICENSE +1 -1
- package/android/build.gradle +10 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2024-
|
|
3
|
+
Copyright (c) 2024-present TheWidlarzGroup
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
|
6
6
|
in the Software without restriction, including without limitation the rights
|
package/android/build.gradle
CHANGED
|
@@ -21,7 +21,16 @@ def reactNativeArchitectures() {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
apply plugin: "com.android.library"
|
|
24
|
-
|
|
24
|
+
// AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
|
|
25
|
+
// itself. Applying the Kotlin plugin on top of it fails configuration with
|
|
26
|
+
// "Cannot add extension with name 'kotlin'". Asking for the extension covers
|
|
27
|
+
// every way built-in Kotlin can be turned on -- the global default, the
|
|
28
|
+
// android.builtInKotlin property, and the per-module com.android.built-in-kotlin
|
|
29
|
+
// plugin -- without reading an AGP version number.
|
|
30
|
+
if (project.extensions.findByName('kotlin') == null) {
|
|
31
|
+
apply plugin: "kotlin-android"
|
|
32
|
+
}
|
|
33
|
+
|
|
25
34
|
apply from: '../nitrogen/generated/android/ReactNativeVideoDrm+autolinking.gradle'
|
|
26
35
|
|
|
27
36
|
apply plugin: "com.facebook.react"
|