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.
48 lines
1.3 KiB
48 lines
1.3 KiB
7 months ago
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
String SDK_DIR = System.getenv("ANDROID_HOME")
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 29
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "com.huanglong.launcher"
|
||
|
minSdkVersion 29
|
||
|
targetSdkVersion 29
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||
|
signingConfig signingConfigs.debug
|
||
|
}
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
checkReleaseBuilds false
|
||
|
abortOnError false
|
||
|
}
|
||
|
|
||
|
applicationVariants.all { variant ->
|
||
|
variant.outputs.all {
|
||
|
outputFileName = "TvLauncherDemo.apk"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
String frameworkPath = "${SDK_DIR}/platforms/android-29/framework.jar";
|
||
|
compileOnly files(frameworkPath)
|
||
|
compileOnly files('../../../../binary/packages/DtvLib/classes.jar')
|
||
|
compileOnly files('../../../../binary/packages/TvServiceDemo/classes.jar')
|
||
|
compileOnly files('../../../../binary/packages/TvmwLib/classes.jar')
|
||
|
}
|