spiegel-keyman/android/Samples/KMSample1/app/build.gradle
Darcy Wong 6db8cea05b chore(android/samples): Update dependencies for Sample projects
Also update targetSDKVersion to 30
2021-05-21 10:54:30 +07:00

49 lines
1.2 KiB
Groovy

plugins {
id 'com.android.application'
id 'io.sentry.android.gradle'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
// 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.kmsample1"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
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.3.0-rc01'
implementation 'com.google.android.material:material:1.3.0'
api(name: 'keyman-engine', ext: 'aar')
implementation 'io.sentry:sentry-android:4.3.0'
implementation 'androidx.preference:preference:1.1.1'
}