apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'


android {
    compileSdkVersion COMPILE_SDK_VERSION as int
    buildToolsVersion BUILD_TOOL_VERSION

    defaultConfig {
        minSdkVersion MIN_SDK_VERSION as int
        targetSdkVersion TARGET_SDK_VERSION as int

//        ndk {
//            moduleName = 'genius_blur'
//            //ldLibs.addAll(['m', 'log', 'jnigraphics'])
//            //abiFilters.addAll(['armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'mips', 'mips64'])
//            //cppFlags.addAll(['-DANDROID_NDK', '-D_RELEASE'])
//        }
        sourceSets {
            main {
                jni.srcDirs = []
            }
        }
    }
    externalNativeBuild {
        ndkBuild {
            path file("src/main/jni/Android.mk")
        }
    }
}
publish {
    userOrg = 'c781015928'      //bintray注册的用户名
    groupId = 'com.czg.fastblur'         //compile引用时的第1部分groupId
    artifactId = 'Blur'     //compile引用时的第2部分项目名
    publishVersion = '1.0.0'    //compile引用时的第3部分版本号
    desc = 'This is a BlurUtils '
    website = 'https://github.com/781015928/BlurLib'
}


