Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
243 changes: 87 additions & 156 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,42 +1,30 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'

alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
id 'kotlin-parcelize'

id 'org.jetbrains.kotlin.plugin.serialization' version '2.2.0'
id 'org.jetbrains.kotlin.plugin.compose'
id 'dagger.hilt.android.plugin'

// plugin for ksp (Hilt, Glide)
id 'com.google.devtools.ksp'

// plugin for data binding
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.hilt)
alias(libs.plugins.ksp)
id 'kotlin-kapt'

// plugin for hiding keys used in manifest
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'

// Add the Google services Gradle plugin
id 'com.google.gms.google-services'

// Add the Firebase Crashlytics Gradle plugin
id 'com.google.firebase.crashlytics'
alias(libs.plugins.secrets.gradle.plugin)
alias(libs.plugins.google.services)
alias(libs.plugins.firebase.crashlytics)
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

android {
namespace 'com.runnect.runnect'
compileSdk 35
compileSdk libs.versions.compileSdk.get().toInteger()

defaultConfig {
applicationId "com.runnect.runnect"
minSdk 28
targetSdk 35
versionCode 26
versionName "2.1.2"
minSdk libs.versions.minSdk.get().toInteger()
targetSdk libs.versions.targetSdk.get().toInteger()
versionCode libs.versions.versionCode.get().toInteger()
versionName libs.versions.versionName.get()

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "RUNNECT_DEV_URL", properties["RUNNECT_DEV_URL"]
Expand All @@ -52,7 +40,6 @@ android {

signingConfigs {
release {
// local.properties에서 키 정보 불러오기
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Expand All @@ -69,7 +56,10 @@ android {
buildFeatures {
buildConfig = true
compose true
dataBinding true
viewBinding true
}

buildTypes {
release {
minifyEnabled false
Expand All @@ -86,135 +76,76 @@ android {
kotlinOptions {
jvmTarget = '17'
}

buildFeatures {
dataBinding true
viewBinding true
}
}

dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core:1.9.0'
implementation 'com.google.firebase:firebase-common-ktx:20.1.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'com.google.firebase:firebase-dynamic-links-ktx:21.2.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

def lifecycle_version = "2.5.1"
//ViewModel
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
//LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
//DataBinding
implementation "androidx.activity:activity-ktx:1.6.1"
//Timber
implementation 'com.jakewharton.timber:timber:5.0.1'
//Coroutine
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
//retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1'
implementation 'com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0'
//define a BOM and its version
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.10.0"))
//define any required OkHttp artifacts without version
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
//hilt
implementation "com.google.dagger:hilt-android:$hilt_version"
ksp "com.google.dagger:hilt-compiler:$hilt_version"
// Glide
implementation "com.github.bumptech.glide:glide:4.16.0"
ksp "com.github.bumptech.glide:ksp:4.16.0"
//fragment change
implementation("androidx.fragment:fragment-ktx:1.5.5")
//coil
implementation("io.coil-kt:coil:2.2.2")

//naver map
implementation 'com.naver.maps:map-sdk:3.22.1'
// implementation 'com.google.android.gms:play-services-location:21.0.1'

// Ted Permission - RxJava3
// Normal
implementation 'io.github.ParkSangGwon:tedpermission-normal:3.3.0'
//Location 라이브러리(현재위치)
implementation 'com.google.android.gms:play-services-location:21.3.0'

implementation "com.squareup.retrofit2:converter-gson:2.9.0"
implementation 'com.google.code.gson:gson:2.10.1'

implementation 'com.ssomai:android.scalablelayout:2.1.6'

//google social login
implementation 'com.google.android.gms:play-services-auth:20.4.1'

//recycler view selection
implementation 'androidx.recyclerview:recyclerview:1.3.0'

// EncryptedSharedPreferences
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha03"

// kakao social login
implementation 'com.kakao.sdk:v2-user:2.10.0'

// pull to refresh
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"

// view Pager2
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation 'me.relex:circleindicator:2.1.6'

//Firebase Realtime Database
implementation 'com.google.firebase:firebase-database-ktx'

//Cloud Firestore
implementation 'com.google.firebase:firebase-firestore-ktx'

// Firebase Storage SDK
implementation 'com.google.firebase:firebase-storage-ktx'

// Import the Firebase BoM
implementation platform('com.google.firebase:firebase-bom:31.2.3')

// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics-ktx'

//카카오 SDK
implementation "com.kakao.sdk:v2-user:2.15.0" // 카카오 로그인
implementation "com.kakao.sdk:v2-talk:2.15.0" // 친구, 메시지(카카오톡)
implementation "com.kakao.sdk:v2-story:2.15.0" // 카카오스토리
implementation "com.kakao.sdk:v2-link:2.9.0" // 메시지(카카오링크)
implementation "com.kakao.sdk:v2-navi:2.15.0" // 카카오내비


//swipe refresh layout
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"

//Skeleton UI
implementation "com.facebook.shimmer:shimmer:0.5.0"

//firebase remote config - update dialog
implementation 'com.google.firebase:firebase-config-ktx'

// Firebase Crashlytics
implementation 'com.google.firebase:firebase-crashlytics-ktx'

implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.2'
implementation 'androidx.activity:activity-compose:1.9.0'
implementation platform('androidx.compose:compose-bom:2023.03.00')
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-graphics'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
androidTestImplementation platform('androidx.compose:compose-bom:2023.03.00')
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
debugImplementation 'androidx.compose.ui:ui-tooling'
debugImplementation 'androidx.compose.ui:ui-test-manifest'
}
// AndroidX
implementation libs.androidx.core.ktx
implementation libs.androidx.appcompat
implementation libs.androidx.constraintlayout
implementation libs.androidx.activity.ktx
implementation libs.androidx.fragment.ktx
implementation libs.bundles.lifecycle
implementation libs.androidx.recyclerview
implementation libs.androidx.viewpager2
implementation libs.androidx.swiperefreshlayout
implementation libs.androidx.preference.ktx
implementation libs.androidx.security.crypto.ktx

// Compose
implementation platform(libs.compose.bom)
implementation libs.bundles.compose
implementation libs.androidx.activity.compose
debugImplementation libs.bundles.compose.debug
androidTestImplementation platform(libs.compose.bom)
androidTestImplementation libs.compose.ui.test.junit4

// Material
implementation libs.material

// Hilt
implementation libs.hilt.android
ksp libs.hilt.compiler

// Network
implementation platform(libs.okhttp.bom)
implementation libs.bundles.network

// Coroutines
implementation libs.kotlinx.coroutines.android

// Image
implementation libs.glide
ksp libs.glide.ksp
implementation libs.coil

// Firebase
implementation platform(libs.firebase.bom)
implementation libs.bundles.firebase

// Map
implementation libs.naver.map.sdk
implementation libs.play.services.location

// Kakao
implementation libs.bundles.kakao

// Google
implementation libs.play.services.auth

// Logging
implementation libs.timber

// UI
implementation libs.circleindicator
implementation libs.scalablelayout
implementation libs.shimmer

// Permission
implementation libs.tedpermission.normal

// Test
testImplementation libs.junit
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso.core
}
34 changes: 11 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
hilt_version = '2.56.2'
}

repositories {
google()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.6'
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
}
}

plugins {
id 'com.android.application' version '8.13.2' apply false
id 'com.android.library' version '8.13.2' apply false
id 'org.jetbrains.kotlin.android' version '2.2.0' apply false
id 'org.jetbrains.kotlin.plugin.compose' version '2.2.0' apply false
id 'com.google.devtools.ksp' version '2.2.0-2.0.2' apply false
}
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.secrets.gradle.plugin) apply false
}
Loading
Loading