apply plugin: 'com.android.application' apply plugin: 'com.amazonaws.appsync' android { compileSdkVersion 28 defaultConfig { applicationId "com.amazonaws.app.socialnews" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' implementation 'androidx.room:room-runtime:2.0.0' annotationProcessor 'androidx.room:room-compiler:2.0.0' implementation 'com.google.dagger:dagger-android:2.15' implementation 'androidx.constraintlayout:constraintlayout:1.1.2' def aws_version = "2.8.4" implementation("com.amazonaws:aws-android-sdk-mobile-client:$aws_version@aar") { transitive = true } implementation "com.amazonaws:aws-android-sdk-auth-ui:$aws_version" implementation "com.amazonaws:aws-android-sdk-auth-userpools:$aws_version" implementation "com.amazonaws:aws-android-sdk-pinpoint:$aws_version" implementation "com.amazonaws:aws-android-sdk-s3:$aws_version" implementation "com.amazonaws:aws-android-sdk-appsync:2.6.28" implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0' implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' }