build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion rootProject.ext.minSdkVersion
  6. targetSdkVersion rootProject.ext.targetSdkVersion
  7. versionCode rootProject.ext.versionCode
  8. versionName rootProject.ext.versionName
  9. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. externalNativeBuild {
  18. cmake {
  19. path 'CMakeLists.txt'
  20. }
  21. }
  22. }
  23. dependencies {
  24. // compile fileTree(dir: 'libs', include: ['*.jar'])
  25. // androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  26. // exclude group: 'com.android.support', module: 'support-annotations'
  27. // })
  28. // compile 'com.android.support:appcompat-v7:25.3.0'
  29. // testCompile 'junit:junit:4.12'
  30. api "androidx.annotation:annotation:1.1.0"
  31. }