fakhrycodepolitan

build.gradle app level

Jun 7th, 2023
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 2.75 KB | Source Code | 0 0
  1. plugins {
  2.     id 'com.android.application'
  3.     id 'org.jetbrains.kotlin.android'
  4.     id 'kotlin-parcelize'
  5. }
  6.  
  7. android {
  8.     namespace 'com.codepolitan.pemasaranproduk'
  9.     compileSdk 33
  10.  
  11.     defaultConfig {
  12.         applicationId "com.codepolitan.pemasaranproduk"
  13.         minSdk 23
  14.         targetSdk 33
  15.         versionCode 1
  16.         versionName "1.0"
  17.  
  18.         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19.         buildConfigField "String", "BASE_URL", "\"http:10.0.2.2:5000/api/\""
  20.         buildConfigField "String", "BASE_URL_IMAGE", "\"http:10.0.2.2:5000/upload/\""
  21.     }
  22.  
  23.     buildTypes {
  24.         release {
  25.             minifyEnabled false
  26.             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27.         }
  28.     }
  29.     compileOptions {
  30.         sourceCompatibility JavaVersion.VERSION_1_8
  31.         targetCompatibility JavaVersion.VERSION_1_8
  32.     }
  33.     kotlinOptions {
  34.         jvmTarget = '1.8'
  35.     }
  36.     buildFeatures {
  37.         viewBinding true
  38.     }
  39. }
  40.  
  41. dependencies {
  42.     implementation 'androidx.core:core-ktx:1.10.1'
  43.     implementation 'androidx.appcompat:appcompat:1.6.1'
  44.     implementation 'com.google.android.material:material:1.9.0'
  45.     implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  46.     testImplementation 'junit:junit:4.13.2'
  47.     androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  48.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  49.  
  50.     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  51.  
  52.     //Retrofit
  53.     implementation "com.squareup.retrofit2:retrofit:2.9.0"
  54.     implementation "com.squareup.retrofit2:converter-gson:2.9.0"
  55.     implementation "com.squareup.retrofit2:converter-scalars:2.9.0"
  56.  
  57.     //OkHttp
  58.     implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2"
  59.  
  60.     //Glide
  61.     implementation "com.github.bumptech.glide:glide:4.12.0"
  62.  
  63.     //Circle ImageView
  64.     implementation "de.hdodenhof:circleimageview:3.1.0"
  65.  
  66.     //Circle Indicator
  67.     implementation "me.relex:circleindicator:2.1.6"
  68.  
  69.     //Crypto
  70.     implementation "androidx.security:security-crypto:1.0.0"
  71.  
  72.     //Google Maps
  73.     implementation "com.google.android.gms:play-services-location:21.0.1"
  74.     implementation "com.google.android.gms:play-services-maps:18.1.0"
  75.  
  76.     //Coroutine
  77.     implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt"
  78.     implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1"
  79.  
  80.     //ViewModel
  81.     implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.6.1"
  82.     implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
  83.     implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1"
  84.  
  85.     implementation "com.orhanobut:hawk:2.0.1"
  86. }
Add Comment
Please, Sign In to add comment