123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
- plugins {
- alias(libs.plugins.androidApplication)
- alias(libs.plugins.kotlinAndroid)
- alias(libs.plugins.google.ksp)
- alias(libs.plugins.google.hilt)
- }
- android {
- namespace = "com.codeskraps.sbrowser"
- compileSdk = 34
- defaultConfig {
- applicationId = "com.codeskraps.sbrowser_new"
- minSdk = 26
- targetSdk = 34
- versionCode = 4
- versionName = "3.2"
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- vectorDrawables {
- useSupportLibrary = true
- }
- }
- buildTypes {
- release {
- isMinifyEnabled = false
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = "17"
- }
- buildFeatures {
- compose = true
- }
- composeOptions {
- kotlinCompilerExtensionVersion = "1.5.7"
- }
- packaging {
- resources {
- excludes += "/META-INF/{AL2.0,LGPL2.1}"
- }
- }
- }
- dependencies {
- implementation(libs.core.ktx)
- implementation(libs.lifecycle.runtime.ktx)
- implementation(libs.lifecycle.runtime.compose)
- implementation(libs.activity.compose)
- implementation(platform(libs.compose.bom))
- implementation(libs.ui)
- implementation(libs.ui.graphics)
- implementation(libs.ui.tooling.preview)
- implementation(libs.material3)
- //Dagger - Hilt
- implementation(libs.hilt.android)
- implementation(libs.hilt.navigation.compose)
- ksp(libs.hilt.android.compiler)
- // Room
- implementation(libs.room.runtime)
- implementation(libs.room.ktx)
- annotationProcessor(libs.room.compiler)
- ksp(libs.room.compiler)
- implementation(libs.jsoup)
- implementation(libs.media3.exoplayer)
- implementation(libs.media3.ui)
- testImplementation(libs.junit)
- androidTestImplementation(libs.androidx.test.ext.junit)
- androidTestImplementation(libs.espresso.core)
- androidTestImplementation(platform(libs.compose.bom))
- androidTestImplementation(libs.ui.test.junit4)
- debugImplementation(libs.ui.tooling)
- debugImplementation(libs.ui.test.manifest)
- }
|