plugins {
    id 'com.android.application'
    id 'kotlin-android'
}
apply from: '../dependencies.gradle'

android {
    compileSdk 34

    defaultConfig {
        applicationId "design.andromedacompose.catalog"

        minSdkVersion 26
        targetSdkVersion 34
        compileSdkVersion 34

        vectorDrawables.useSupportLibrary = true

        versionCode getUniqueVersionCode()
        versionName getVersionName()
        versionNameSuffix getUserVisibleVersionSuffix()
    }
    buildFeatures {
        compose true
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    kotlinOptions {
        jvmTarget = '11'
    }
    composeOptions {
        kotlinCompilerVersion "1.7.20"
        kotlinCompilerExtensionVersion '1.3.2'
    }
    packagingOptions {
        resources {
            excludes += ['META-INF/DEPENDENCIES', 'META-INF/LICENSE', 'META-INF/LICENSE.md', 'META-INF/LICENSE.txt', 'META-INF/license.txt', 'META-INF/NOTICE', 'META-INF/NOTICE.txt', 'META-INF/notice.txt', 'META-INF/ASL2.0', 'META-INF/LICENSE-notice.md', 'META-INF/DEPENDENCIES', 'META-INF/LICENSE', 'META-INF/LICENSE.md', 'META-INF/LICENSE.txt', 'META-INF/license.txt', 'META-INF/NOTICE', 'META-INF/NOTICE.txt', 'META-INF/notice.txt', 'META-INF/ASL2.0', 'META-INF/LICENSE-notice.md']
        }
    }
    namespace 'design.andromedacompose.catalog'
}

dependencies {
    implementation kotlin
    implementation composeNav
    implementation project(":andromeda")
    implementation project(":andromeda-icons")
    implementation project(":andromeda-illustrations")
}
