You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TermApp/mpmaster/build.gradle

69 lines
1.8 KiB
Groovy

2 years ago
plugins {
id 'com.android.application'
}
2 years ago
def AppMajorVersion = 1
def AppMinorVersion = 0
def AppBuildNumber = 5
2 years ago
def AppVersionName = AppMajorVersion + "." + AppMinorVersion + "." + AppBuildNumber
def AppVersionCode = AppMajorVersion * 100000 + AppMinorVersion * 1000 + AppBuildNumber
2 years ago
android {
2 years ago
compileSdk 33
2 years ago
defaultConfig {
applicationId "com.xypower.mpmaster"
2 years ago
minSdk 25
targetSdk 28
2 years ago
versionCode AppVersionCode
versionName AppVersionName
buildConfigField "long","BUILD_TIMESTAMP", System.currentTimeMillis() + "L"
2 years ago
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2 years ago
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
viewBinding true
}
signingConfigs {
release{
storeFile file('../sign.jks')
storePassword 'XyMpApp'
keyAlias 'xymp'
keyPassword 'XyMpApp'
}
debug{
storeFile file('../sign.jks')
storePassword 'XyMpApp'
keyAlias 'xymp'
keyPassword 'XyMpApp'
}
}
2 years ago
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
2 years ago
implementation project(path: ':common')
2 years ago
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation files('libs/devapi.aar')
2 years ago
}