• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1plugins {
2    id 'com.android.application'
3    id 'org.jetbrains.kotlin.android'
4}
5
6android {
7    namespace 'simpleperf.example.kotlin'
8    compileSdk 32
9
10    defaultConfig {
11        applicationId "simpleperf.example.kotlin"
12        minSdk 24
13        targetSdk 32
14        versionCode 1
15        versionName "1.0"
16
17        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18    }
19
20    buildTypes {
21        release {
22            minifyEnabled false
23            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
24        }
25    }
26    compileOptions {
27        sourceCompatibility JavaVersion.VERSION_1_8
28        targetCompatibility JavaVersion.VERSION_1_8
29    }
30    kotlinOptions {
31        jvmTarget = '1.8'
32    }
33}
34
35dependencies {
36
37    implementation 'androidx.core:core-ktx:1.7.0'
38    implementation 'androidx.appcompat:appcompat:1.4.1'
39    implementation 'com.google.android.material:material:1.5.0'
40    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
41    testImplementation 'junit:junit:4.13.2'
42    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
43    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
44}