buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.1' } } apply plugin: 'com.android.library' android { compileSdkVersion rootProject.properties.get('compileSdkVersion', 26) buildToolsVersion rootProject.properties.get('buildToolsVersion', '26.0.3') defaultConfig { minSdkVersion 16 targetSdkVersion rootProject.properties.get('targetSdkVersion', 26) versionCode 1 versionName "1.0" } lintOptions{ abortOnError false } } repositories { maven { url "https://jitpack.io" } jcenter() } dependencies { implementation 'com.facebook.react:react-native:+' implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation 'com.afollestad.material-dialogs:commons:0.9.6.0' }