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' } } 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'); }