apply plugin: 'com.android.application' ext.rootPath = '../../../' apply from: "$rootPath/version.gradle" android { compileSdkVersion 29 // Don't compress kmp files so they can be copied via AssetManager aaptOptions { noCompress "kmp" } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } defaultConfig { applicationId "com.keyman.kmsample2" minSdkVersion 21 targetSdkVersion 29 // VERSION_CODE and VERSION_NAME from version.gradle versionCode VERSION_CODE as Integer versionName VERSION_NAME buildConfigField "String", "VERSION_ENVIRONMENT", "\""+VERSION_ENVIRONMENT+"\"" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { flatDir { dirs 'libs' } google() } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0-alpha03' implementation 'com.google.android.material:material:1.1.0' api (name:'keyman-engine', ext:'aar') implementation 'io.sentry:sentry-android:2.0.1' }