flutter_aliplayer/android/build.gradle

53 lines
1.2 KiB
Groovy
Raw Permalink Normal View History

2023-12-06 11:23:26 +08:00
group 'com.alibaba.fplayer.flutter_aliplayer'
version '1.0'
buildscript {
ext.kotlin_version='1.6.10'
repositories {
google()
jcenter()
maven { url "https://maven.aliyun.com/nexus/content/repositories/releases" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
jcenter()
maven { url "https://maven.aliyun.com/nexus/content/repositories/releases" }
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
}
lintOptions {
disable 'InvalidPackage'
}
buildTypes{
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.aliyun.sdk.android:AliyunPlayer:5.5.6.0-full'
implementation 'com.google.code.gson:gson:2.8.6'
}