Add room database.
This commit is contained in:
		
							parent
							
								
									2ad8d5953a
								
							
						
					
					
						commit
						6a0710572a
					
				
					 17 changed files with 362 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
plugins {
 | 
			
		||||
    id 'com.android.application'
 | 
			
		||||
    id 'kotlin-android'
 | 
			
		||||
    id 'kotlin-kapt'
 | 
			
		||||
    id 'org.jetbrains.kotlin.android'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -102,6 +103,14 @@ dependencies {
 | 
			
		|||
    implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
 | 
			
		||||
    implementation 'com.google.code.gson:gson:2.8.6'
 | 
			
		||||
 | 
			
		||||
    // Room
 | 
			
		||||
    implementation "androidx.room:room-runtime:2.3.0"
 | 
			
		||||
    implementation "androidx.room:room-ktx:2.3.0"
 | 
			
		||||
    kapt "androidx.room:room-compiler:2.3.0"
 | 
			
		||||
 | 
			
		||||
    // Paging
 | 
			
		||||
    implementation "androidx.paging:paging-runtime-ktx:3.0.0"
 | 
			
		||||
 | 
			
		||||
    // Test
 | 
			
		||||
    testImplementation 'junit:junit:4.13.2'
 | 
			
		||||
    androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.0.0-beta06"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue