1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- apply plugin: 'com.android.library'
- android {
- // namespace 'com.example.moduleGis'
- compileSdkVersion 28
- buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 28
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- google()
- mavenCentral()
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'com.android.support:appcompat-v7:28.0.0'
- // implementation files('libs\\gnsstoollib-1.1.20210826.jar')
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
- compileOnly files('../app/libs/apiEngine v3.0.0.jar')
- implementation files('libs/eventbus-3.0.0.jar')
- compile(name:'gnssserver-1.1.20230214-053827-8.0.1',ext:'aar');
- compile(name:'gnsstoollib-1.1.20230214-054100-8.0.1',ext:'aar');
- compile(name:'sdk4a-v1.6.0.3958',ext:'aar');
- //高德定位sdk
- //定位功能
- // 高德定位 SDK(检查版本号,确保为最新)
- // implementation files('../app/libs/AMap_Location_V6.4.8_20241029.jar')
- // implementation files('../app/libs/commons-collections4-4.4.jar')
- // compileOnly files('../app/libs/AMap_Location_V6.4.8_20241029.jar')
- // compileOnly files('../app/libs/commons-collections4-4.4.jar')
- implementation 'com.amap.api:location:latest.integration'
- implementation 'org.apache.commons:commons-collections4:4.4'
- }
|