|
| 1 | +plugins { |
| 2 | + id 'com.android.application' |
| 3 | + id 'kotlin-android' |
| 4 | + id 'kotlin-kapt' |
| 5 | + id 'kotlinx-serialization' |
| 6 | +} |
| 7 | + |
| 8 | +android { |
| 9 | + buildFeatures { |
| 10 | + dataBinding true |
| 11 | + viewBinding true |
| 12 | + } |
| 13 | + compileOptions { |
| 14 | + sourceCompatibility JavaVersion.VERSION_1_8 |
| 15 | + targetCompatibility JavaVersion.VERSION_1_8 |
| 16 | + } |
| 17 | + compileSdk 33 |
| 18 | + defaultConfig { |
| 19 | + applicationId 'com.syncloudsoft.mobserve' |
| 20 | + minSdk 21 |
| 21 | + targetSdk 33 |
| 22 | + testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' |
| 23 | + versionCode 1 |
| 24 | + versionName '1.0' |
| 25 | + vectorDrawables.useSupportLibrary = true |
| 26 | + } |
| 27 | + kotlinOptions { |
| 28 | + jvmTarget = '1.8' |
| 29 | + } |
| 30 | + signingConfigs { |
| 31 | + release { |
| 32 | + storeFile System.getenv('SIGNING_KEYSTORE') |
| 33 | + ? rootProject.file(System.getenv('SIGNING_KEYSTORE')) |
| 34 | + : null |
| 35 | + storePassword System.getenv('SIGNING_KEYSTORE_PASSWORD') |
| 36 | + keyAlias System.getenv('SIGNING_KEY') |
| 37 | + keyPassword System.getenv('SIGNING_KEY_PASSWORD') |
| 38 | + v1SigningEnabled true |
| 39 | + v2SigningEnabled true |
| 40 | + } |
| 41 | + } |
| 42 | + buildTypes { |
| 43 | + release { |
| 44 | + minifyEnabled false |
| 45 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 46 | + signingConfig signingConfigs.release |
| 47 | + } |
| 48 | + } |
| 49 | + namespace 'com.syncloudsoft.mobserve' |
| 50 | +} |
| 51 | + |
| 52 | +dependencies { |
| 53 | + implementation 'androidx.appcompat:appcompat:1.5.1' |
| 54 | + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' |
| 55 | + implementation 'androidx.core:core-ktx:1.9.0' |
| 56 | + implementation 'androidx.navigation:navigation-fragment-ktx:2.5.2' |
| 57 | + implementation 'androidx.navigation:navigation-ui-ktx:2.5.2' |
| 58 | + implementation 'androidx.preference:preference-ktx:1.2.0' |
| 59 | + implementation 'androidx.room:room-runtime:2.4.3' |
| 60 | + annotationProcessor 'androidx.room:room-compiler:2.4.3' |
| 61 | + kapt 'androidx.room:room-compiler:2.4.3' |
| 62 | + implementation 'androidx.work:work-runtime:2.7.1' |
| 63 | + implementation 'androidx.work:work-runtime-ktx:2.7.1' |
| 64 | + implementation 'com.github.vaibhavpandeyvpz:katora-java:1.0.0' |
| 65 | + implementation 'com.google.android.material:material:1.6.1' |
| 66 | + implementation 'com.jakewharton.timber:timber:5.0.1' |
| 67 | + implementation 'com.squareup.okhttp3:okhttp:4.9.0' |
| 68 | + implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0' |
| 69 | + implementation 'pub.devrel:easypermissions:3.0.0' |
| 70 | + testImplementation 'junit:junit:' |
| 71 | + testImplementation 'androidx.room:room-testing:2.4.3' |
| 72 | + androidTestImplementation 'androidx.test.ext:junit:1.1.3' |
| 73 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' |
| 74 | + androidTestImplementation 'androidx.work:work-testing:2.7.1' |
| 75 | +} |
0 commit comments