Skip to content

Commit

Permalink
Migrate sensor-graph to convention plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanAlbert committed May 9, 2024
1 parent 1a58a85 commit 7b03aec
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions sensor-graph/accelerometer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
plugins {
id 'com.android.application'
id "ndksamples.android.application"
}

android {
compileSdk 33
ndkVersion '25.1.8937393'
namespace 'com.android.accelerometergraph'

defaultConfig {
applicationId 'com.android.accelerometergraph'
minSdkVersion 14
targetSdkVersion 33
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_static'
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}

externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
}
}
namespace 'com.android.accelerometergraph'
}

0 comments on commit 7b03aec

Please sign in to comment.