@@ -38,14 +38,16 @@ android {
3838 }
3939 lintOptions {
4040 abortOnError false
41+ disable ' GradleDependency' // noinspection GradleDependency 경고 비활성화
4142 }
4243 buildToolsVersion ' 28.0.3'
4344 ndkVersion ' 20.1.5948944'
4445}
4546
4647dependencies {
48+ def room_version = " 2.2.5"
49+
4750 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
48- // noinspection GradleDependency
4951 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
5052 implementation ' com.google.android.material:material:1.3.0-beta01'
5153 implementation ' androidx.appcompat:appcompat:1.2.0'
@@ -55,25 +57,26 @@ dependencies {
5557 // 머티리얼 디자인 라이브러리
5658 implementation ' com.rengwuxian.materialedittext:library:2.1.4'
5759
60+ // room
61+ implementation " androidx.room:room-runtime:$room_version "
62+ implementation " androidx.room:room-ktx:$room_version "
63+ kapt " androidx.room:room-compiler:$room_version "
64+ androidTestImplementation " androidx.room:room-testing:$room_version "
65+
5866 // test implementation
59- implementation ' androidx.legacy:legacy-support-v4:1.0.0'
6067 testImplementation ' junit:junit:4.12'
61- testImplementation ' org.robolectric:robolectric:4.3'
62- testImplementation ' org.powermock:powermock-api-mockito:1.4.12'
63- testImplementation ' org.powermock:powermock-module-junit4:1.6.2'
64- testImplementation ' org.mockito:mockito-core:2.28.2'
65- testImplementation ' androidx.arch.core:core-testing:2.1.0'
6668 androidTestImplementation ' androidx.test:runner:1.2.0'
6769 androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
68- androidTestImplementation ' androidx.test:runner:1.2.0'
69- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
70- androidTestImplementation ' androidx.test:runner:1.2.0'
7170 androidTestImplementation ' androidx.test:rules:1.2.0'
7271 androidTestImplementation ' androidx.test:core:1.2.0'
73- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
7472 androidTestImplementation ' androidx.test.ext:junit:1.1.1'
75- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
7673 androidTestImplementation ' androidx.test.espresso:espresso-intents:3.2.0'
74+ // implementation 'androidx.legacy:legacy-support-v4:1.0.0'
75+ // testImplementation 'org.robolectric:robolectric:4.3'
76+ // testImplementation 'org.powermock:powermock-api-mockito:1.4.12'
77+ // testImplementation 'org.powermock:powermock-module-junit4:1.6.2'
78+ // testImplementation 'androidx.arch.core:core-testing:2.1.0'
79+
7780
7881 // Google Ads
7982 implementation ' com.google.android.gms:play-services-ads:18.2.0'
@@ -87,15 +90,13 @@ dependencies {
8790 implementation ' com.squareup.retrofit2:converter-gson:2.4.0'
8891 implementation ' com.google.code.gson:gson:2.8.5'
8992
90- // room
91- implementation ' androidx.room:room-runtime:2.2.0'
92- kapt ' androidx.room:room-compiler:2.2.0'
93- kaptTest ' androidx.room:room-testing:2.2.0'
94-
9593 // Lifecycle components
9694 implementation ' androidx.lifecycle:lifecycle-extensions:2.1.0'
9795 implementation ' android.arch.lifecycle:viewmodel:1.1.1'
9896 annotationProcessor ' androidx.lifecycle:lifecycle-compiler:2.1.0'
97+ implementation ' android.arch.lifecycle:extensions:1.0.0' ;
98+ // noinspection LifecycleAnnotationProcessorWithJava8
99+ annotationProcessor ' android.arch.lifecycle:compiler:1.0.0' ;
99100
100101 // Coroutines
101102 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version "
0 commit comments