首次提交
This commit is contained in:
88
app/build.gradle
Normal file
88
app/build.gradle
Normal file
@@ -0,0 +1,88 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
compileSdk 34
|
||||
defaultConfig {
|
||||
applicationId "com.android.domain.aml"
|
||||
minSdk 24
|
||||
targetSdk 34
|
||||
versionCode 105
|
||||
versionName "Domain-1.0.105-amlogic"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file("../app/platform.keystore")
|
||||
storePassword 'android'
|
||||
keyAlias 'platform'
|
||||
keyPassword 'android'
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
|
||||
debug {
|
||||
storeFile file("../app/platform.keystore")
|
||||
storePassword 'android'
|
||||
keyAlias 'platform'
|
||||
keyPassword 'android'
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.all {
|
||||
if (variant.buildType.name == "release") {
|
||||
packageApplicationProvider.get().outputDirectory = new File(project.rootDir, "apk")
|
||||
outputFileName = "app-${variant.versionName}-${new Date().format('yyyyMMdd')}-${variant.buildType.name}.apk"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
preDexLibraries false
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
buildConfig true
|
||||
}
|
||||
|
||||
namespace 'com.android.domain.aml'
|
||||
}
|
||||
|
||||
tasks.whenTaskAdded { task ->
|
||||
if (task.name.contains("ReleaseApkListingFileRedirect")) {
|
||||
task.enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation 'androidx.leanback:leanback:1.0.0'
|
||||
implementation project(':nebula-sdk')
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user