ui/material2/build.gradle.kts
changeset 4 3d88feb1156b
parent 3 e2e4636c1e70
child 6 67743d62eda9
equal deleted inserted replaced
3:e2e4636c1e70 4:3d88feb1156b
       
     1 plugins {
       
     2     id("com.android.library")
       
     3     kotlin("android")
       
     4     id("com.geekorum.build.source-license-checker")
       
     5 }
       
     6 
       
     7 android {
       
     8     namespace = "com.geekorum.aboutoss.ui.material"
       
     9     compileSdk = 33
       
    10 
       
    11     defaultConfig {
       
    12         minSdk = 28
       
    13 
       
    14         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
       
    15         consumerProguardFiles("consumer-rules.pro")
       
    16     }
       
    17 
       
    18     buildTypes {
       
    19         release {
       
    20             isMinifyEnabled = false
       
    21             proguardFiles(
       
    22                 getDefaultProguardFile("proguard-android-optimize.txt"),
       
    23                 "proguard-rules.pro"
       
    24             )
       
    25         }
       
    26     }
       
    27     compileOptions {
       
    28         sourceCompatibility = JavaVersion.VERSION_1_8
       
    29         targetCompatibility = JavaVersion.VERSION_1_8
       
    30     }
       
    31     kotlinOptions {
       
    32         jvmTarget = "1.8"
       
    33     }
       
    34 
       
    35     buildFeatures {
       
    36         compose = true
       
    37     }
       
    38 
       
    39     composeOptions {
       
    40         kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
       
    41     }
       
    42 }
       
    43 
       
    44 dependencies {
       
    45     implementation(project(":ui:common"))
       
    46     implementation(platform(libs.androidx.compose.bom))
       
    47     implementation(libs.androidx.compose.material)
       
    48     implementation(libs.androidx.activity.compose)
       
    49     implementation(libs.androidx.navigation.compose)
       
    50 
       
    51     testImplementation(libs.junit)
       
    52     androidTestImplementation(libs.androidx.test.ext.junit)
       
    53     androidTestImplementation(libs.espresso.core)
       
    54 }