apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply from: '../.winboll/winboll_lib_build.gradle'
apply from: '../.winboll/winboll_lint_build.gradle'

android {
    namespace 'cc.winboll.studio'
    
    compileSdkVersion 32
    buildToolsVersion "33.0.3"

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 30
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
}

dependencies {
    // https://mvnrepository.com/artifact/com.google.zxing/core
    api 'com.google.zxing:core:3.4.1'
    // https://mvnrepository.com/artifact/com.google.zxing/javase
    api 'com.google.zxing:javase:3.4.1'


    api 'io.github.medyo:android-about-page:2.0.0'
    api 'com.github.getActivity:ToastUtils:10.5'
    api 'com.jcraft:jsch:0.1.55'
    api 'org.jsoup:jsoup:1.13.1'
    api 'com.squareup.okhttp3:okhttp:4.4.1'
    
    api 'androidx.appcompat:appcompat:1.0.0'
    api 'androidx.fragment:fragment:1.0.0'
    api 'com.google.android.material:material:1.0.0'
    
    api fileTree(dir: 'libs', include: ['*.jar'])
}
