apply plugin: 'com.android.library'

android {
    compileSdk 34

    namespace 'com.github.ahmadaghazadeh.editor'

    defaultConfig {
        minSdkVersion 21
        targetSdk 34
        versionCode 1
        versionName "1.0"
    }

    dataBinding {
        enabled = true
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    buildToolsVersion '36.0.0-rc4'
}

dependencies {
    def supportLibraryVersion = '28.0.0'
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'androidx.appcompat:appcompat:1.7.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation "androidx.preference:preference:1.2.1"
    implementation 'commons-io:commons-io:2.6' //Apache Commons IO
    implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
}
