File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ plugins {
2+ `kotlin- dsl` // enable the Kotlin-DSL
3+ }
4+
5+ repositories {
6+ google()
7+ mavenCentral()
8+ }
Original file line number Diff line number Diff line change 1+ object AppConfig {
2+ const val compileSdk = 33
3+ const val targetSdk = 33
4+ const val minSdk = 23
5+ const val versionCode = 1
6+ const val versionName = " 0.0.1"
7+ const val buildToolsVersion = " 30.0.3"
8+ }
Original file line number Diff line number Diff line change 1+ object Versions {
2+ const val APP_COMPAT = " 1.5.1"
3+ const val CORE = " 1.7.0"
4+ const val CONSTRAINT_LAYOUT = " 2.1.4"
5+ const val NAVIGATION_FRAGMENT = " 2.5.3"
6+ const val JUNIT = " 4.13.2"
7+ const val ANDROID_JUNIT = " 1.1.3"
8+ const val ESPRESSO = " 3.4.0"
9+ const val MATERIAL = " 1.7.0"
10+ }
11+
12+ object Libraries {
13+ // androidX + KTX
14+ const val CORE = " androidx.core:core-ktx:${Versions .CORE } "
15+ const val APP_COMPAT = " androidx.appcompat:appcompat:${Versions .APP_COMPAT } "
16+ const val CONSTRAINT_LAYOUT = " androidx.constraintlayout:constraintlayout:${Versions .CONSTRAINT_LAYOUT } "
17+ const val NAVIGATION_FRAGMENT_KTX = " androidx.navigation:navigation-fragment-ktx:${Versions .NAVIGATION_FRAGMENT } "
18+ const val NAVIGATION_UI_KTX = " androidx.navigation:navigation-ui-ktx:${Versions .NAVIGATION_FRAGMENT } "
19+ const val MATERIAL = " com.google.android.material:material:${Versions .MATERIAL } "
20+ }
21+
22+ object TestImpl {
23+ const val JUNIT4 = " junit:junit:${Versions .JUNIT } " // TODO 5 쓰는 쪽으로 바꿔야함
24+ }
25+
26+ object AndroidTestImpl {
27+ const val ANDROID_JUNIT = " androidx.test.ext:junit:${Versions .ANDROID_JUNIT } "
28+ const val ESPRESSO = " androidx.test.espresso:espresso-core:${Versions .ESPRESSO } "
29+ }
You can’t perform that action at this time.
0 commit comments