0% found this document useful (0 votes)
149 views3 pages

Android App Build Config with Kotlin

The document defines the dependencies and plugins used in an Android project. It implements plugins for Kotlin, navigation, and Dagger Hilt. It includes dependencies for loading buttons, image loading, view pagers, and step views.

Uploaded by

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

Android App Build Config with Kotlin

The document defines the dependencies and plugins used in an Android project. It implements plugins for Kotlin, navigation, and Dagger Hilt. It includes dependencies for loading buttons, image loading, view pagers, and step views.

Uploaded by

k3302988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

apply plugin :"kotlin-kapt"

//loading button
implementation '[Link]:loading-button-android:2.2.0'

//Glide
implementation '[Link]:glide:4.13.0'

//circular image
implementation '[Link]:circleimageview:3.1.0'

//viewpager2 indicatior
implementation '[Link]:viewpagerindicator:1.0.0-
alpha.1'

//stepView
implementation '[Link]:stepview:1.5.1'

//Android Ktx
implementation '[Link]:navigation-fragment-ktx:2.4.2'

//Dagger hilt
implementation "[Link]:hilt-android:2.38.1"
kapt "[Link]:hilt-compiler:2.38.1"

plugins {
id("[Link]")
id("[Link]")
id 'kotlin-parcelize'
id '[Link]'
id '[Link]'
}

android {
namespace = "[Link]"
compileSdk = 34

defaultConfig {
applicationId = "[Link]"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"

testInstrumentationRunner = "[Link]"
vectorDrawables {
useSupportLibrary = true
}
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("[Link]"),
"[Link]")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}

dependencies {

implementation("[Link]:core-ktx:1.10.1")
implementation("[Link]:lifecycle-runtime-ktx:2.6.1")
implementation("[Link]:activity-compose:1.7.0")
implementation(platform("[Link]:compose-bom:2023.08.00"))
implementation("[Link]:ui")
implementation("[Link]:ui-graphics")
implementation("[Link]:ui-tooling-preview")
implementation("[Link].material3:material3")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("[Link]:junit:1.1.5")
androidTestImplementation("[Link]:espresso-core:3.5.1")
androidTestImplementation(platform("[Link]:compose-bom:2023.08.00"))
androidTestImplementation("[Link]:ui-test-junit4")
debugImplementation("[Link]:ui-tooling")
debugImplementation("[Link]:ui-test-manifest")

apply plugin :"kotlin-kapt"

//loading button
implementation '[Link]:loading-button-android:2.2.0'

//Glide
implementation '[Link]:glide:4.13.0'

//circular image
implementation '[Link]:circleimageview:3.1.0'

//viewpager2 indicatior
implementation '[Link]:viewpagerindicator:1.0.0-
alpha.1'

//stepView
implementation '[Link]:stepview:1.5.1'

//Android Ktx
implementation '[Link]:navigation-fragment-ktx:2.4.2'

//Dagger hilt
implementation "[Link]:hilt-android:2.38.1"
kapt "[Link]:hilt-compiler:2.38.1"
}

You might also like