Skip to content

Commit

Permalink
Merge pull request #348 from boostcampwm2023/android/feature/347
Browse files Browse the repository at this point in the history
gradle kotlin options 추출
  • Loading branch information
youlalala authored Dec 14, 2023
2 parents 50128e5 + 776b4b4 commit 71e4c19
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 37 deletions.
8 changes: 8 additions & 0 deletions android/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`kotlin-dsl`
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
implementation(libs.android.gradlePlugin)
implementation(libs.kotlin.gradlePlugin)
Expand Down
4 changes: 0 additions & 4 deletions android/core/data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ android {
buildConfigField("String", "BASE_URL", localProperties["server.url"] as String)
}

kotlinOptions {
jvmTarget = "17"
}

buildFeatures {
buildConfig = true
}
Expand Down
2 changes: 0 additions & 2 deletions android/core/domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ dependencies {

implementation(libs.inject)

// fixme : kotest 사용이 확정되면 junit 지우기
testImplementation(libs.junit)
testImplementation(libs.kotest.runner)
testImplementation(libs.kotest.property)
testImplementation(libs.kotest.extentions.junitxml)
Expand Down
4 changes: 0 additions & 4 deletions android/core/ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ plugins {
android {
namespace = "com.ohdodok.catchytape.core.ui"

kotlinOptions {
jvmTarget = "17"
}

buildFeatures {
dataBinding = true
}
Expand Down
4 changes: 0 additions & 4 deletions android/feature/home/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.feature.home"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
3 changes: 0 additions & 3 deletions android/feature/login/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ android {
buildConfigField("String", "GOOGLE_CLIENT_ID", localProperties["google.client.id"] as String)
}

kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
buildConfig = true
}
Expand Down
4 changes: 0 additions & 4 deletions android/feature/mypage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.feature.mypage"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
4 changes: 0 additions & 4 deletions android/feature/player/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.feature.player"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
4 changes: 0 additions & 4 deletions android/feature/playlist/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.feature.playlist"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
4 changes: 0 additions & 4 deletions android/feature/search/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.feature.search"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down
4 changes: 0 additions & 4 deletions android/feature/upload/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {

android {
namespace = "com.ohdodok.catchytape.catchytape.upload"

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
Expand Down

0 comments on commit 71e4c19

Please sign in to comment.