| plugins { |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| id("kotlin-kapt") |
| id("dagger.hilt.android.plugin") |
| id("com.google.android.gms.oss-licenses-plugin") |
| } |
| |
| android { |
| compileSdk = 31 |
| |
| defaultConfig { |
| applicationId = "app.lawnchair.lawnicons" |
| minSdk = 26 |
| targetSdk = 31 |
| versionCode = 1 |
| versionName = "1.0.0" |
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
| vectorDrawables { |
| useSupportLibrary = true |
| } |
| } |
| |
| buildTypes { |
| release { |
| isMinifyEnabled = true |
| 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 = Versions.COMPOSE |
| } |
| |
| packagingOptions { |
| resources { |
| excludes += "/META-INF/{AL2.0,LGPL2.1}" |
| } |
| } |
| } |
| |
| dependencies { |
| implementation("androidx.core:core-ktx:1.7.0") |
| implementation("androidx.compose.ui:ui:${Versions.COMPOSE}") |
| implementation("androidx.compose.material:material:${Versions.COMPOSE}") |
| implementation("androidx.compose.ui:ui-tooling-preview:${Versions.COMPOSE}") |
| implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.1") |
| implementation("androidx.activity:activity-compose:1.4.0") |
| debugImplementation("androidx.compose.ui:ui-tooling:${Versions.COMPOSE}") |
| implementation("androidx.compose.material3:material3:1.0.0-alpha12") |
| implementation("com.google.accompanist:accompanist-insets:${Versions.ACCOMPANIST}") |
| implementation("com.google.accompanist:accompanist-systemuicontroller:${Versions.ACCOMPANIST}") |
| implementation("com.google.accompanist:accompanist-placeholder-material:${Versions.ACCOMPANIST}") |
| implementation("com.google.accompanist:accompanist-navigation-animation:${Versions.ACCOMPANIST}") |
| implementation("com.github.fornewid:material-motion-compose:0.8.0-beta01") |
| implementation("com.google.dagger:hilt-android:2.40.5") |
| kapt("com.google.dagger:hilt-compiler:2.40.5") |
| implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.4.1") |
| implementation("androidx.hilt:hilt-navigation-compose:1.0.0") |
| implementation("com.github.LawnchairLauncher:oss-notices:1.0.2") |
| implementation("io.coil-kt:coil-compose:2.0.0") |
| implementation("com.squareup.retrofit2:retrofit:2.9.0") |
| implementation("com.squareup.retrofit2:converter-gson:2.9.0") |
| } |
| |
| kotlin.sourceSets.all { |
| languageSettings.optIn("kotlin.RequiresOptIn") |
| } |