58 lines
1.5 KiB
Groovy
58 lines
1.5 KiB
Groovy
|
|
plugins {
|
||
|
|
id 'com.android.library'
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = 'com.utsmyanmar.mpulib'
|
||
|
|
compileSdk = 34
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
minSdk = 23
|
||
|
|
targetSdk = 30
|
||
|
|
versionCode 1
|
||
|
|
versionName "1.0"
|
||
|
|
|
||
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
// debug {
|
||
|
|
// minifyEnabled true
|
||
|
|
// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
|
// }
|
||
|
|
}
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_11
|
||
|
|
targetCompatibility JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
|
||
|
|
lint {
|
||
|
|
abortOnError false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
// implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
// implementation "com.google.protobuf:protobuf-javalite:3.11.0"
|
||
|
|
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
implementation 'com.google.android.material:material:1.2.1'
|
||
|
|
|
||
|
|
// implementation files('../app/libs/PayLib-release-1.4.37.aar')
|
||
|
|
|
||
|
|
// implementation files('libs/PayLib-release-1.4.64.aar')
|
||
|
|
implementation project(path: ':paysdk-lib')
|
||
|
|
testImplementation 'junit:junit:4.13.2'
|
||
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||
|
|
}
|