Add gradle dependencies
This commit is contained in:
parent
8a8525f8f8
commit
71dc48a8b4
@ -5,17 +5,22 @@ buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||
classpath 'com.android.tools.build:gradle:4.1.2'
|
||||
// noinspection DifferentKotlinGradleVersion
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
def getExtOrDefault(name) {
|
||||
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['VisionCamera_' + name]
|
||||
@ -126,5 +131,15 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
|
||||
dependencies {
|
||||
// noinspection GradleDynamicVersion
|
||||
api 'com.facebook.react:react-native:+'
|
||||
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.4.2"
|
||||
|
||||
implementation "androidx.camera:camera-core:1.1.0-alpha01"
|
||||
implementation "androidx.camera:camera-camera2:1.1.0-alpha01"
|
||||
implementation "androidx.camera:camera-lifecycle:1.1.0-alpha01"
|
||||
implementation "androidx.camera:camera-extensions:1.0.0-alpha21"
|
||||
implementation "androidx.camera:camera-view:1.0.0-alpha21"
|
||||
implementation "androidx.exifinterface:exifinterface:1.3.2"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
VisionCamera_kotlinVersion=1.3.50
|
||||
VisionCamera_compileSdkVersion=29
|
||||
VisionCamera_buildToolsVersion=29.0.2
|
||||
VisionCamera_targetSdkVersion=29
|
||||
VisionCamera_kotlinVersion=1.4.30
|
||||
VisionCamera_compileSdkVersion=30
|
||||
VisionCamera_buildToolsVersion=30.0.0
|
||||
VisionCamera_targetSdkVersion=30
|
||||
|
Loading…
Reference in New Issue
Block a user