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/mpres/build.gradle

58 lines
1.6 KiB
Groovy

plugins {
id 'com.android.application'
}
def AppMajorVersion = 1
def AppMinorVersion = 0
def AppBuildNumber = 0
def AppVersionName = AppMajorVersion + "." + AppMinorVersion + "." + AppBuildNumber
def AppVersionCode = AppMajorVersion * 100000 + AppMinorVersion * 1000 + AppBuildNumber
android {
signingConfigs {
debug {
storeFile file('../sign.jks')
storePassword 'XyMpApp'
keyAlias 'xymp'
keyPassword 'XyMpApp'
}
}
namespace 'com.xypower.mpres'
compileSdk 33
defaultConfig {
applicationId "com.xypower.mpres"
minSdk 28
targetSdk 28
versionCode AppVersionCode
versionName AppVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.activity:activity:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation project(path: ':common')
}