112 lines
3.2 KiB
Groovy
112 lines
3.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'com.google.android.gms.oss-licenses-plugin'
|
|
|
|
id 'kotlin-kapt'
|
|
id 'kotlin-parcelize'
|
|
id 'org.jlleitschuh.gradle.ktlint'
|
|
|
|
id 'io.objectbox'
|
|
}
|
|
|
|
android {
|
|
namespace 'kr.co.vividnext.sodalive'
|
|
compileSdk 33
|
|
|
|
viewBinding {
|
|
enabled true
|
|
}
|
|
|
|
buildFeatures.dataBinding = true
|
|
|
|
lintOptions {
|
|
checkDependencies true
|
|
}
|
|
|
|
dependenciesInfo {
|
|
// Disables dependency metadata when building APKs.
|
|
includeInApk = false
|
|
// Disables dependency metadata when building Android App Bundles.
|
|
includeInBundle = false
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "kr.co.vividnext.sodalive"
|
|
minSdk 23
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
applicationIdSuffix '.debug'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "androidx.media:media:1.6.0"
|
|
implementation 'androidx.core:core-ktx:1.10.1'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.9.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
implementation 'androidx.webkit:webkit:1.7.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
|
|
|
|
// Logger
|
|
implementation("com.orhanobut:logger:2.2.0") {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
}
|
|
|
|
// image library
|
|
implementation "io.coil-kt:coil:1.4.0"
|
|
|
|
// Koin DI
|
|
implementation "io.insert-koin:koin-android:3.1.3"
|
|
|
|
// Preference
|
|
implementation("androidx.preference:preference-ktx:1.2.0") {
|
|
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel'
|
|
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
|
|
}
|
|
|
|
// Gson
|
|
implementation "com.google.code.gson:gson:2.9.0"
|
|
|
|
// Network
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
|
|
implementation "com.squareup.retrofit2:adapter-rxjava3:2.9.0"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.3"
|
|
|
|
// RxJava3
|
|
implementation "io.reactivex.rxjava3:rxjava:3.1.3"
|
|
implementation "io.reactivex.rxjava3:rxandroid:3.0.0"
|
|
implementation "com.jakewharton.rxbinding4:rxbinding:4.0.0"
|
|
|
|
// permission
|
|
implementation "io.github.ParkSangGwon:tedpermission-normal:3.3.0"
|
|
|
|
implementation 'com.google.android.gms:play-services-oss-licenses:17.0.1'
|
|
}
|