12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- @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_d"
- minSdk = 26
- targetSdk = 34
- versionCode = 1
- versionName = "1.0"
- 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.session)
- 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)
- }
|