sample/build.gradle.kts
changeset 18 ac393491d2eb
parent 15 4e26459b4642
child 22 d0190e5504a6
equal deleted inserted replaced
17:6ff6774c8121 18:ac393491d2eb
    22 @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
    22 @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
    23 plugins {
    23 plugins {
    24     id("com.android.application")
    24     id("com.android.application")
    25     id("org.jetbrains.kotlin.android")
    25     id("org.jetbrains.kotlin.android")
    26     id("com.geekorum.build.source-license-checker")
    26     id("com.geekorum.build.source-license-checker")
       
    27     alias(libs.plugins.google.gms.oss.license)
       
    28 }
       
    29 
       
    30 // workaround bug https://issuetracker.google.com/issues/275534543
       
    31 buildscript {
       
    32     dependencies {
       
    33         classpath("com.android.tools.build:gradle:8.0.0")
       
    34     }
    27 }
    35 }
    28 
    36 
    29 android {
    37 android {
    30     namespace = "com.geekorum.aboutoss.sampleapp"
    38     namespace = "com.geekorum.aboutoss.sampleapp"
    31     compileSdk = 33
    39     compileSdk = 33
    59     kotlinOptions {
    67     kotlinOptions {
    60         jvmTarget = "1.8"
    68         jvmTarget = "1.8"
    61     }
    69     }
    62     buildFeatures {
    70     buildFeatures {
    63         compose = true
    71         compose = true
       
    72         buildConfig = true
    64     }
    73     }
    65     composeOptions {
    74     composeOptions {
    66         kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
    75         kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
    67     }
    76     }
    68     packaging {
    77     packaging {
    71         }
    80         }
    72     }
    81     }
    73 }
    82 }
    74 
    83 
    75 dependencies {
    84 dependencies {
       
    85     implementation(project(":core"))
       
    86     implementation(project(":ui:common"))
    76     implementation(project(":ui:material2"))
    87     implementation(project(":ui:material2"))
    77     implementation(project(":ui:material3"))
    88     implementation(project(":ui:material3"))
    78 
    89 
       
    90     implementation(libs.geekdroid) {
       
    91         //TODO get rid of dagger platform in geekdroid
       
    92         exclude("com.google.dagger", "dagger-platform")
       
    93     }
       
    94 
       
    95 
       
    96     implementation(libs.androidx.lifecycle.viewmodel)
       
    97     implementation(libs.androidx.lifecycle.viewmodel.compose)
    79     implementation(libs.androidx.activity.compose)
    98     implementation(libs.androidx.activity.compose)
    80     implementation(platform(libs.androidx.compose.bom))
    99     implementation(platform(libs.androidx.compose.bom))
    81     implementation(libs.androidx.compose.ui)
   100     implementation(libs.androidx.compose.ui)
    82     implementation(libs.androidx.compose.ui.graphics)
   101     implementation(libs.androidx.compose.ui.graphics)
    83     implementation(libs.androidx.compose.ui.tooling.preview)
   102     implementation(libs.androidx.compose.ui.tooling.preview)