react-native-camera-kit build changes

This commit is contained in:
minibits-cash
2023-07-06 23:17:19 +02:00
parent e9b81d0b9e
commit 1a84c44033
3 changed files with 17 additions and 2 deletions
+3
View File
@@ -1,5 +1,8 @@
apply plugin: "com.android.application"
apply plugin: "com.facebook.react"
// react-native-camera-kit
apply plugin: "kotlin-android"
apply plugin: "kotlin-android-extensions"
import com.android.build.OutputFile
+2
View File
@@ -1,6 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<application
android:name=".MainApplication"
+12 -2
View File
@@ -3,19 +3,29 @@
buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
minSdkVersion = 23
compileSdkVersion = 33
targetSdkVersion = 33
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
// react-native-camera-kit
kotlin_version = "1.7.21"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
// react-native-camera-kit
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}
// react-native-camera-kit
allprojects {
repositories {
google()
}
}