Skip to content

Commit

Permalink
[feat] #1 gradle setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook123 committed Apr 2, 2024
1 parent f309a18 commit dae7f1a
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 52 deletions.
44 changes: 0 additions & 44 deletions app/build.gradle

This file was deleted.

35 changes: 35 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
plugins {
alias(libs.plugins.sopt.android.application)
alias(libs.plugins.sopt.android.hilt)
}

android {
namespace = "com.sopt.now"

defaultConfig {
applicationId = "com.sopt.now"
versionCode = 1
versionName = "1.0"
}
viewBinding.enable = true
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
)
}
}
}

dependencies {

implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.11.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# proguardFiles setting in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
Expand Down
6 changes: 0 additions & 6 deletions build.gradle

This file was deleted.

18 changes: 18 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
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.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.hilt) apply false
}

buildscript {
repositories {
google()
mavenCentral()
maven(url = "https://jitpack.io")
}
}
6 changes: 5 additions & 1 deletion settings.gradle → settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pluginManagement {
includeBuild("build-logic")
repositories {
google {
content {
Expand All @@ -20,4 +21,7 @@ dependencyResolutionManagement {
}

rootProject.name = "NOW SOPT Android"
include ':app'
include(":app")
include(":feature:main")
include(":core:ui")
include(":core:model")

0 comments on commit dae7f1a

Please sign in to comment.