You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
apply plugin: 'com.android.application'
|
|
|
|
String SDK_DIR = System.getenv("ANDROID_HOME")
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
defaultConfig {
|
|
applicationId "com.huanglong.android.videoplayer"
|
|
minSdkVersion 29
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.all {
|
|
outputFileName = "VideoPlayerDemo.apk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly files('../../../../binary/packages/displaymanager/classes.jar')
|
|
String frameworkPath = "${SDK_DIR}/platforms/android-29/framework.jar";
|
|
compileOnly files(frameworkPath)
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'com.google.android.material:material:1.3.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
|
} |