build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. // namespace 'com.example.moduleGis'
  6. compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
  7. buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
  8. defaultConfig {
  9. minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
  10. targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation 'com.android.support:appcompat-v7:28.0.0'
  27. implementation files('libs\\gnsstoollib-1.1.20210826.jar')
  28. implementation files('libs\\eventbus-3.0.0.jar')
  29. testImplementation 'junit:junit:4.13.2'
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  32. compileOnly files('../app/libs/apiEngine v3.0.0.jar')
  33. // implementation 'org.greenrobot:eventbus:3.0.0'
  34. }