1apply plugin: 'com.android.application' 2 3apply plugin: 'kotlin-android' 4 5apply plugin: 'kotlin-android-extensions' 6 7apply from: 'profiling.gradle' 8 9android { 10 compileSdkVersion 25 11 buildToolsVersion '27.0.3' 12 defaultConfig { 13 applicationId "com.example.simpleperf.simpleperfexampleofkotlin" 14 minSdkVersion 15 15 targetSdkVersion 26 16 versionCode 1 17 versionName "1.0" 18 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 19 } 20 buildTypes { 21 release { 22 minifyEnabled false 23 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 24 } 25 } 26} 27 28dependencies { 29 implementation fileTree(dir: 'libs', include: ['*.jar']) 30 androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1', { 31 exclude group: 'com.android.support', module: 'support-annotations' 32 }) 33 implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 34 implementation 'com.android.support:appcompat-v7:25.4.0' 35 testImplementation 'junit:junit:4.12' 36 implementation 'com.android.support.constraint:constraint-layout:1.0.2' 37} 38