apply plugin: 'com.android.library'

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.3'

    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        externalNativeBuild {
            ndkBuild {
                abiFilters "armeabi-v7a"
            }
        }
    }
    buildTypes {
        debug {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    externalNativeBuild {
        ndkBuild {
            path file("src/main/jni/Android.mk")
        }
    }
    lintOptions {
        //IJobService need NewApi
        warning 'NewApi','OnClick'
    }
}


dependencies {
    api fileTree(include: ['*.jar'], dir: 'libs')
    //    compile project(':hooklib')
    //    compile project(':xposedcompat')
    api 'com.swift.sandhook:hooklib:4.1.7'
    api 'com.swift.sandhook:xposedcompat:4.1.7'
    api 'com.trend.lazyinject:lib:3.4.0-beta'
    annotationProcessor 'com.trend.lazyinject:compiler:3.4.0-beta'
}
