plugins { alias(libs.plugins.android.application) } android { namespace 'com.example.bdkipoc' compileSdk 35 // Tambahkan lint options lint { abortOnError false disable 'GoogleAppIndexingWarning' disable 'NonConstantResourceId' } defaultConfig { applicationId "com.example.bdkipoc" minSdk 21 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } // Keep Java 11 - lebih modern dari referensi compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } // Tambahkan sourceSets untuk native libs jika diperlukan sourceSets { main { jniLibs.srcDirs = ['libs'] } } } dependencies { implementation libs.appcompat implementation libs.material implementation libs.activity implementation libs.constraintlayout implementation libs.cardview implementation 'androidx.recyclerview:recyclerview:1.3.0' // Existing PayLib // implementation(name: 'PayLib-release-2.0.17', ext: 'aar') // Tambahkan dependencies yang kompatibel dari referensi implementation 'com.sunmi:printerlibrary:1.0.15' implementation 'org.bouncycastle:bcpkix-jdk15on:1.70' // Test dependencies testImplementation libs.junit androidTestImplementation libs.ext.junit androidTestImplementation libs.espresso.core }