blob: da9c6d8b01b1c48d4114b3c900480131b2efc3c2 [file] [log] [blame]
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 29
buildToolsVersion "29.0.1"
defaultConfig {
applicationId "com.google.oboe.samples.drumthumper"
minSdkVersion 26
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
}
}
// This sample will also be published on the Google Play Store which needs a different
// application id from "com.google" as this is reserved for official Google products.
flavorDimensions "publishing-target"
productFlavors {
codesample {
dimension "publishing-target"
applicationId "com.google.oboe.samples.drumthumper"
}
playstore {
dimension "publishing-target"
applicationId "com.mobilieer.drumthumper"
}
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.2'
}