You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 936B

1234567891011121314151617181920212223242526272829303132333435
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. applicationId "com.example.baidulbs"
  6. minSdkVersion 16
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
  21. implementation files('libs/BaiduLBS_Android.jar')
  22. implementation 'androidx.appcompat:appcompat:1.0.2'
  23. testImplementation 'junit:junit:4.12'
  24. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  25. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  26. implementation files('classes.jar')
  27. }