0% found this document useful (0 votes)
20 views2 pages

Android

The document defines an Android application configuration with plugins, build types, dependencies and other configuration details like SDK versions and package name. It configures the application build and dependencies.

Uploaded by

Catwib Saja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Android

The document defines an Android application configuration with plugins, build types, dependencies and other configuration details like SDK versions and package name. It configures the application build and dependencies.

Uploaded by

Catwib Saja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 2

plugins {

alias(libs.plugins.android.application)
}

android {
namespace = "com.example.myapplication"
compileSdk = 34

defaultConfig {
applicationId = "com.example.myapplication"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}

dependencies {
implementation (fileTree(mapOf("dir" to "libs","include" to listOf("*.jar"))))
implementation(libs.circleimageview)
implementation(libs.retrofit)
implementation(libs.converter.gson)
implementation(libs.adapter.rxjava2)
implementation(libs.rxandroid)
implementation(libs.rxjava)
implementation(libs.glide)
implementation(libs.support.annotations)
implementation("android.arch.lifecycle:extensions:1.1.1")
annotationProcessor(libs.compiler)
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
implementation(libs.design)
implementation(libs.recyclerview.v7)
}

You might also like