Files
AndroidJava/ComposableWidgets/app/build.gradle
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

83 lines
2.9 KiB
Groovy

plugins {
id 'com.android.application'
id 'com.google.relay' version '0.3.02'
id 'org.jetbrains.kotlin.android'
}
android {
compileSdk 33
defaultConfig {
applicationId "com.qamar.composablewidgets"
minSdk 21
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
}
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 {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
namespace 'com.qamar.composablewidgets'
}
dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation platform('androidx.compose:compose-bom:2022.10.00')
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.material:material"
implementation "androidx.compose.material3:material3"
implementation "androidx.compose.ui:ui-tooling-preview"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation 'androidx.activity:activity-compose'
implementation "com.airbnb.android:lottie-compose:5.2.0"
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.android.gms:play-services-location:21.0.0'
def nav_version = "2.5.2"
implementation "androidx.navigation:navigation-compose:$nav_version"
implementation "androidx.compose.ui:ui-util"
implementation "com.google.accompanist:accompanist-systemuicontroller:0.23.0"
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
implementation "androidx.navigation:navigation-compose"
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation "com.google.accompanist:accompanist-pager:0.23.1"
implementation "androidx.compose.ui:ui-util"
implementation "com.google.accompanist:accompanist-permissions:0.16.1"
implementation("io.coil-kt:coil-compose:2.2.2")
implementation 'com.github.qamarelsafadi:ElasticView:v0.1'
implementation 'com.google.maps.android:maps-compose:2.7.2'
implementation 'com.google.android.gms:play-services-maps:18.1.0'
}