<NME> build.gradle
<BEF> apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion '25.0.3'

    defaultConfig {
        applicationId "com.esafirm.imagepicker.sample"
        minSdkVersion 14
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    }
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8.toString()
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')

    implementation "com.github.bumptech.glide:glide:4.10.0"
    implementation "androidx.appcompat:appcompat:1.2.0"

    /* Development */
    implementation project(':imagepicker')

    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
    implementation "androidx.core:core-ktx:$core_ktx_version"

    /* UI Test */
    final espressoVersion = '3.3.0'
    final runnerVersion = '1.3.0'
    androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
    androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
    androidTestImplementation "androidx.test:runner:$runnerVersion"
    androidTestImplementation "androidx.test:rules:$runnerVersion"
    androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.3'
    androidTestImplementation "androidx.test:core:1.5.0-beta01"
    androidTestImplementation('com.adevinta.android:barista:3.10.0') {
        exclude group: 'org.jetbrains.kotlin'
        exclude group: 'org.hamcrest'
    }
}

<MSG> Move sdk config to root project

<DFF> @@ -1,13 +1,17 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 25
-    buildToolsVersion '25.0.3'
+    final sdk = rootProject.ext.sdk
+
+    compileSdkVersion sdk.compileSdk
+    buildToolsVersion sdk.buildTools
 
     defaultConfig {
+        minSdkVersion sdk.minSdk
+        targetSdkVersion sdk.targetSdk
+
         applicationId "com.esafirm.imagepicker.sample"
-        minSdkVersion 14
-        targetSdkVersion 25
+
         versionCode 1
         versionName "1.0"
     }

{'addition_count': 8, 'commit_subject': 'Move sdk config to root project', 'deletion_count': 4, 'file_extension': '.gradle', 'lang': 'gradle', 'license': 'mit', 'repo_name': 'esafirm/android-image-picker'}