apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'

android {

    namespace "com.egeniq.androidtvprogramguide"

    defaultConfig {
        minSdk 21
        targetSdk 34
        compileSdk 34
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

    implementation "androidx.appcompat:appcompat:1.7.0"
    implementation "androidx.leanback:leanback:1.0.0"

    implementation "androidx.constraintlayout:constraintlayout:2.1.4"

    implementation 'com.github.bumptech.glide:glide:4.16.0'
    api "com.jakewharton.threetenabp:threetenabp:1.4.7"
}
