72 lines
2.2 KiB
Groovy
72 lines
2.2 KiB
Groovy
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
android {
|
|
namespace 'com.utsmyanmar.paylibs'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
|
|
// Room dependencies
|
|
implementation "androidx.room:room-runtime:2.2.5"
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
annotationProcessor "androidx.room:room-compiler:2.2.5"
|
|
|
|
//OKHttp 4.8.1
|
|
implementation("com.squareup.okhttp3:logging-interceptor:4.8.1")
|
|
implementation("com.squareup.okhttp3:okhttp:4.8.1")
|
|
|
|
//RxJava
|
|
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
|
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
|
|
|
|
//base64
|
|
implementation 'commons-codec:commons-codec:1.10'
|
|
|
|
//bouncy castle
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.70'
|
|
// implementation 'org.bouncycastle:bcprov-jdk18on:1.77'
|
|
|
|
//sunmi ui
|
|
// implementation 'com.sunmi:sunmiui:1.1.27'
|
|
|
|
// implementation 'com.sunmi:printerlibrary:1.0.9'
|
|
implementation 'com.sunmi:printerlibrary:1.0.23'
|
|
//paySDK
|
|
// implementation project(path:':PayLib-release-1.4.58')
|
|
implementation project(path: ':nexsdk-lib')
|
|
implementation project(path: ':paysdk-lib')
|
|
implementation project(path: ':nexdlkey-lib')
|
|
// implementation project(path: ':sunmiui-lib')
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
} |