Advertisement
Vassa007

Untitled

Jan 28th, 2024
1,137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5.44 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.google.gms.google-services'
  3.  
  4. android {
  5.     signingConfigs {
  6.         release {
  7.             storeFile file('/Users/upatikmacbook/Documents/mobile/keystore/Key SFL/sisterlecturesh1.dms')
  8. //            storeFile file('C:\\keystore\\Key SFL\\sisterlecturesh1.dms')
  9.             storePassword 'ivandro77'
  10.             keyAlias 'sisterforlecture'
  11.             keyPassword 'ivandro77'
  12.         }
  13.     }
  14.  
  15.     defaultConfig {
  16.         applicationId "com.unej.sisterforlecturer"
  17.         minSdkVersion 21
  18.  
  19.         def versionMajor = 3
  20.         def versionMinor = 5
  21.         def versionPatch = 10
  22.         versionCode 110
  23.         +versionMinor * 100
  24.         versionName "${versionMajor}.${versionMinor}.${versionPatch}"
  25.  
  26.         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  27.         multiDexEnabled true
  28.         targetSdkVersion 34
  29.     }
  30.  
  31.     useLibrary 'org.apache.http.legacy'
  32.  
  33.     android {
  34.         lintOptions {
  35.             checkReleaseBuilds false
  36.             // Or, if you prefer, you can continue to check for errors in release builds,
  37.             // but continue the build even when errors are found:
  38.             abortOnError false
  39.         }
  40.     }
  41.  
  42.     buildTypes {
  43.         debug {
  44.             resValue "string", "app_version",
  45.                     "${defaultConfig.versionName}${versionNameSuffix}"
  46.         }
  47.  
  48.         beta {
  49.             minifyEnabled false
  50.             debuggable false
  51.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  52.             resValue "string", "app_version",
  53.                     "${defaultConfig.versionName}${versionNameSuffix}"
  54.             multiDexEnabled = true
  55.         }
  56.         release {
  57.             debuggable false
  58.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  59.             resValue "string", "app_version",
  60.                     "${defaultConfig.versionName}"
  61.             multiDexEnabled = true
  62.             signingConfig signingConfigs.release
  63.         }
  64.     }
  65.     compileOptions {
  66.         sourceCompatibility = 1.8
  67.         targetCompatibility = 1.8
  68.     }
  69.     namespace 'com.unej.sisterforlecturer'
  70.     compileSdk 34
  71.  
  72.     buildFeatures {
  73.         buildConfig = true
  74.     }
  75. }
  76.  
  77. dependencies {
  78.     implementation fileTree(dir: 'libs', include: ['*.jar'])
  79.  
  80.     implementation 'androidx.appcompat:appcompat:1.6.1'
  81.     implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  82.     implementation 'androidx.preference:preference:1.2.1'
  83.     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  84.     implementation 'com.google.firebase:firebase-messaging:23.4.0'
  85.     implementation 'com.google.firebase:firebase-config:21.6.0'
  86.     implementation 'com.google.android.gms:play-services-code-scanner:16.1.0'
  87.     implementation 'com.android.support:multidex:1.0.3'
  88.     testImplementation 'junit:junit:4.13.2'
  89.     androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  90.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  91.  
  92.     implementation "androidx.annotation:annotation:1.7.1"
  93.     implementation "androidx.annotation:annotation-experimental:1.4.0"
  94.  
  95.     /* Netwrok */
  96.     implementation 'com.google.code.gson:gson:2.10'
  97.     implementation 'com.squareup.retrofit2:retrofit:2.8.1'
  98.     implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
  99.     implementation 'com.squareup.retrofit2:converter-scalars:2.8.1'
  100.     implementation 'com.squareup.okhttp3:okhttp:4.5.0'
  101.     implementation 'com.squareup.okhttp3:logging-interceptor:4.5.0'
  102.     /* Material design */
  103.     implementation 'com.google.android.material:material:1.11.0'
  104.     /* Circular */
  105.     implementation 'com.mikhaellopez:circularimageview:4.3.0'
  106.     /* QRCode */
  107.     implementation 'com.google.zxing:core:3.5.0'
  108.     /*calendar horizontal*/
  109.     implementation 'joda-time:joda-time:2.10.5'
  110.     implementation 'com.squareup:otto:1.3.8'
  111.     implementation 'com.github.vjivandro:CalendarWeekView:1.0.7'
  112.     /*Glide*/
  113.     implementation 'com.github.bumptech.glide:glide:4.9.0'
  114.     annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
  115.     /**/
  116.     implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
  117.     implementation 'androidx.mediarouter:mediarouter:1.6.0'
  118.     /*Chat socket.io*/
  119.     implementation 'com.github.nkzawa:socket.io-client:0.6.0'
  120.     implementation 'it.xabaras.android:recyclerview-swipedecorator:1.2.2'
  121.     /* room */
  122.     def room_version = '2.6.1'
  123.     implementation "androidx.room:room-runtime:$room_version"
  124.     annotationProcessor "androidx.room:room-compiler:$room_version"
  125.     androidTestImplementation "androidx.room:room-testing:$room_version"
  126.     debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
  127.  
  128.     /** Android-WYSIWYG-Editor **/
  129.     implementation 'com.github.irshulx:laser-native-editor:3.0.4'
  130.     implementation 'com.github.duanhong169:colorpicker:1.1.1'
  131.  
  132.     implementation 'androidx.biometric:biometric:1.1.0'
  133.     implementation 'com.google.android.gms:play-services-maps:18.2.0'
  134.     implementation 'com.google.android.gms:play-services-location:21.1.0'
  135.  
  136.     //update app
  137.     implementation 'com.google.android.play:core:1.10.3'
  138.  
  139.     implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
  140.     def lottieVersion = "3.4.0"
  141.     implementation "com.airbnb.android:lottie:$lottieVersion"
  142.     implementation 'com.itextpdf:itextg:5.5.10'
  143.     implementation 'com.github.MikeOrtiz:TouchImageView:1.4.1'
  144. }
  145.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement