build.gradle 1.9 KB
Newer Older
V
v1.9.2  
Vergil 已提交
1 2 3
apply plugin: 'com.android.application'

android {
N
1.9.5  
NeroZhang 已提交
4
    compileSdkVersion 28
V
v1.9.2  
Vergil 已提交
5 6 7
    defaultConfig {
        applicationId "com.example.mockgps"
        minSdkVersion 14
N
1.9.5  
NeroZhang 已提交
8
        targetSdkVersion 28
V
v1.9.2  
Vergil 已提交
9
        versionCode 1
N
1.9.5  
NeroZhang 已提交
10
        versionName "1.9.5"
V
v1.9.2  
Vergil 已提交
11 12 13 14 15 16 17 18
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
19
    buildToolsVersion '28.0.3'
V
v1.9.2  
Vergil 已提交
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
    productFlavors {
    }
    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }
    lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
N
1.9.5  
NeroZhang 已提交
41 42
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:design:28.0.0'
V
v1.9.2  
Vergil 已提交
43 44 45
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
N
1.9.5  
NeroZhang 已提交
46 47 48
    androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
V
v1.9.2  
Vergil 已提交
49 50
    implementation files('libs/BaiduLBS_Android.jar')
    implementation files('libs/library-1.0.19.jar')
N
1.9.5  
NeroZhang 已提交
51 52 53
//    implementation files('com.android.volley:volley:1.1.1')
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation files('libs/log4j-1.2.17.jar')
V
v1.9.2  
Vergil 已提交
54
}