apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { buildToolsVersion "27.0.3" compileSdkVersion 27 defaultConfig { applicationId "be.mygod.vpnhotspot" minSdkVersion 21 targetSdkVersion 27 versionCode 1 versionName "0.0.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary true } buildTypes { debug { pseudoLocalesEnabled true } release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } dataBinding.enabled = true } dependencies { kapt "com.android.databinding:compiler:$androidPluginVersion" implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "com.android.support:customtabs:$supportLibraryVersion" implementation "com.android.support:preference-v14:$supportLibraryVersion" implementation "com.takisoft.fix:preference-v7:$takisoftFixVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion" testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' } kapt.generateStubs = true