added room dependency

This commit is contained in:
Sem van der Hoeven
2020-12-14 11:19:11 +01:00
parent 3e9e41c118
commit c4fd44ad76
2 changed files with 7 additions and 0 deletions

View File

@@ -30,6 +30,12 @@ android {
dependencies {
def room_version = "2.2.5"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

View File

@@ -5,6 +5,7 @@ public class Coupon {
private String code;
private String reward;
public Coupon(String code, String reward) {
this.code = code;
this.reward = reward;