Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- id 'kotlin-parcelize'
- }
- android {
- namespace 'com.codepolitan.pemasaranproduk'
- compileSdk 33
- defaultConfig {
- applicationId "com.codepolitan.pemasaranproduk"
- minSdk 23
- targetSdk 33
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- buildConfigField "String", "BASE_URL", "\"http:10.0.2.2:5000/api/\""
- buildConfigField "String", "BASE_URL_IMAGE", "\"http:10.0.2.2:5000/upload/\""
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- buildFeatures {
- viewBinding true
- }
- }
- dependencies {
- implementation 'androidx.core:core-ktx:1.10.1'
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.9.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- //Retrofit
- implementation "com.squareup.retrofit2:retrofit:2.9.0"
- implementation "com.squareup.retrofit2:converter-gson:2.9.0"
- implementation "com.squareup.retrofit2:converter-scalars:2.9.0"
- //OkHttp
- implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2"
- //Glide
- implementation "com.github.bumptech.glide:glide:4.12.0"
- //Circle ImageView
- implementation "de.hdodenhof:circleimageview:3.1.0"
- //Circle Indicator
- implementation "me.relex:circleindicator:2.1.6"
- //Crypto
- implementation "androidx.security:security-crypto:1.0.0"
- //Google Maps
- implementation "com.google.android.gms:play-services-location:21.0.1"
- implementation "com.google.android.gms:play-services-maps:18.1.0"
- //Coroutine
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1"
- //ViewModel
- implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.6.1"
- implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
- implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1"
- implementation "com.orhanobut:hawk:2.0.1"
- }
Add Comment
Please, Sign In to add comment