123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- group 'com.i2edu.flutter_ali_camera'
- version '1.0-SNAPSHOT'
- buildscript {
- ext.kotlin_version = '1.3.50'
- repositories {
- google()
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.5.0'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- rootProject.allprojects {
- repositories {
- google()
- jcenter()
- maven { url "http://maven.aliyun.com/nexus/content/repositories/releases" }
- }
- }
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- android {
- compileSdkVersion 28
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
- defaultConfig {
- minSdkVersion 16
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- lintOptions {
- disable 'InvalidPackage'
- }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'com.aliyun.video.android:svideostandard:3.15.0'//短视频标准版SDK必须依赖
- implementation 'com.aliyun.video.android:core:1.2.2' //核心库必须依赖
- implementation 'com.alivc.conan:AlivcConan:1.0.3'//核心库必须依赖
- implementation 'com.aliyun.video.android:AlivcFFmpeg:2.0.0'//必须依赖
- implementation 'com.aliyun.video.android:upload:1.6.0'// 上传库,如不需要上传可不依赖
- implementation 'com.google.code.gson:gson:2.8.2'
- }
|