Files
TVTime/app/build.gradle
2022-02-10 00:01:03 -05:00

87 lines
2.5 KiB
Groovy

import com.owenlejeune.tvtime.buildsrc.Dependencies
import com.owenlejeune.tvtime.buildsrc.Versions
import com.owenlejeune.tvtime.buildsrc.Config
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-android'
}
android {
compileSdkVersion(Config.compileSdk)
defaultConfig {
applicationId "com.owenlejeune.tvtime"
minSdkVersion(Config.minSdk)
targetSdkVersion(Config.targetSdk)
versionCode = Config.versionCode
versionName = Config.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
buildConfigField("String", "TMDB_ApiKey", TMDB_ApiKey)
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
useIR = true
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion Versions.compose
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
implementation Dependencies.AndroidX.ktxCore
implementation Dependencies.AndroidX.paging
implementation Dependencies.Compose.ui
implementation Dependencies.Compose.material3
implementation Dependencies.Compose.material
implementation Dependencies.Compose.uiToolingPreview
implementation Dependencies.Compose.activity
implementation Dependencies.Compose.accompanistSystemUi
implementation Dependencies.Compose.navigation
implementation Dependencies.Compose.paging
implementation Dependencies.Lifecycle.runtime
implementation Dependencies.Network.retrofit
implementation Dependencies.Network.retrofitGson
implementation Dependencies.Network.gson
implementation Dependencies.Network.stetho
implementation Dependencies.Network.stethoOkHttp
implementation Dependencies.DI.koin
implementation Dependencies.Coil.coil
testImplementation Dependencies.Testing.junit
androidTestImplementation Dependencies.Testing.androidXJunit
androidTestImplementation Dependencies.Testing.espressoCore
androidTestImplementation Dependencies.Testing.composeJunit
debugImplementation Dependencies.Compose.uiTooling
}