build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. apply plugin: 'com.android.library'
  2. android {
  3. // namespace 'com.example.moduleGis'
  4. compileSdkVersion 28
  5. buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
  6. defaultConfig {
  7. minSdkVersion 19
  8. targetSdkVersion 28
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. consumerProguardFiles "consumer-rules.pro"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. repositories {
  19. flatDir {
  20. dirs 'libs'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. }
  28. dependencies {
  29. implementation 'com.android.support:appcompat-v7:28.0.0'
  30. // implementation files('libs\\gnsstoollib-1.1.20210826.jar')
  31. testImplementation 'junit:junit:4.13.2'
  32. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  33. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  34. compileOnly files('../app/libs/apiEngine v3.0.0.jar')
  35. implementation files('libs/eventbus-3.0.0.jar')
  36. compile(name:'gnssserver-1.1.20230214-053827-8.0.1',ext:'aar');
  37. compile(name:'gnsstoollib-1.1.20230214-054100-8.0.1',ext:'aar');
  38. compile(name:'sdk4a-v1.6.0.3958',ext:'aar');
  39. }