| 1 |
apply plugin: 'com.android.application' |
| 2 |
|
| 3 |
android { |
| 4 |
compileSdkVersion 28 |
| 5 |
defaultConfig { |
| 6 |
applicationId "simpleperf.demo.java_api" |
| 7 |
// Simpleperf profiles interpreted/jitted Java code on Android >= P. |
| 8 |
// https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#prepare-an-android-application |
| 9 |
minSdkVersion 28 |
| 10 |
targetSdkVersion 28 |
| 11 |
versionCode 1 |
| 12 |
versionName "1.0" |
| 13 |
} |
| 14 |
buildTypes { |
| 15 |
release { |
| 16 |
minifyEnabled false |
| 17 |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
sourceSets { |
| 22 |
main.java.srcDirs += '../../../app_api/java' |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
dependencies { |
| 27 |
implementation fileTree(dir: 'libs', include: ['*.jar']) |
| 28 |
implementation 'com.android.support:appcompat-v7:27.1.1' |
| 29 |
implementation 'com.android.support.constraint:constraint-layout:1.1.3' |
| 30 |
testImplementation 'junit:junit:4.12' |
| 31 |
androidTestImplementation 'com.android.support.test:runner:1.0.2' |
| 32 |
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' |
| 33 |
} |