build.gradle 1010 Bytes
Newer Older
weijiguang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
apply plugin: 'com.android.library'

android {
    compileSdkVersion 28
    buildToolsVersion "28.0.3"
    useLibrary 'org.apache.http.legacy'

    defaultConfig {
        minSdkVersion 17
        targetSdkVersion 28
    }

    signingConfigs {
        release {
            keyAlias 'boco'
            keyPassword '123456'
            storeFile file('../boco.keystore')
            storePassword '123456'
        }
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
        sourceSets {
            main {
                jni.srcDirs = ['jniLibs']
            }
        }
    }

    lintOptions {
        abortOnError false
    }
}

dependencies {
    compile files('libs/basejar.jar')
    compile files('libs/httpmime-4.2.3.jar')
    compile files('libs/ormlite-android-4.33.jar')
    compile files('libs/ormlite-core-4.33.jar')
}