build.gradle 1.5 KB
Newer Older
shixiaochen's avatar
shixiaochen 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59
group 'com.aliyun.face.aliyun_face_plugin'
version '1.0'

buildscript {
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.0'
    }
}

rootProject.allprojects {
    repositories {
        google()
        mavenCentral()

        flatDir {
            dirs 'libs'
        }
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 31

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        minSdkVersion 18
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    
     // 实人认证SDK
    implementation(name: 'aliyun-face-v2.1.2-20221027112723', ext: 'aar')
    implementation(name: 'aliyun-facelanguage-v2.1.2-20221027112723', ext: 'aar')
    implementation(name: 'aliyun-ocr-v2.1.2-20221027112723', ext: 'aar')
    implementation(name: 'aliyun-photinus-v2.1.2-20221027112723', ext: 'aar')
    implementation(name: 'aliyun-wishverify-v2.1.2-20221027112723', ext: 'aar')
    implementation(name: 'Android-AliyunFaceGuard-10033', ext: 'aar')
    implementation(name: 'APSecuritySDK-DeepSec-7.0.1.20220813.jiagu', ext: 'aar')

    // 实人认证三方依赖库
    implementation 'com.squareup.okhttp3:okhttp:3.11.0'
    implementation 'com.squareup.okio:okio:1.14.0'
    implementation 'com.alibaba:fastjson:1.2.83_noneautotype'
    implementation 'com.aliyun.dpa:oss-android-sdk:2.9.11'
}