apply plugin: 'com.android.application' def AAVersion = '4.3.1' android { compileSdkVersion 25 buildToolsVersion '26.0.2' defaultConfig { applicationId "com.stardust.scriptdroid" minSdkVersion 17 targetSdkVersion 23 versionCode 244 versionName "3.0.0 Alpha44" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true ndk { abiFilters 'armeabi-v7a' } } buildTypes { debug { shrinkResources false minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } release { shrinkResources false minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 encoding = 'utf-8' } lintOptions { disable 'MissingTranslation' disable 'ExtraTranslation' } android.applicationVariants.all { variant -> variant.outputs.all { outputFileName = "${variant.name}-${variant.versionName}.apk" } } configurations.all { resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1' } } repositories { flatDir { dirs 'libs' } google() } dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) testCompile 'junit:junit:4.12' // LeakCanary (a memory leak tracer) debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' // Android Annotations annotationProcessor "org.androidannotations:androidannotations:$AAVersion" compile "org.androidannotations:androidannotations-api:$AAVersion" // ButterKnife compile('com.jakewharton:butterknife:8.6.0', { exclude group: 'com.android.support' }) annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' // Android supports compile 'com.android.support:appcompat-v7:25.4.0' compile 'com.android.support:cardview-v7:25.4.0' compile 'com.android.support:design:25.4.0' compile 'com.android.support:multidex:1.0.2' // Personal libraries compile 'com.github.hyb1996:MutableTheme:0.2.2' // Material Dialogs compile('com.afollestad.material-dialogs:core:0.9.2.3', { exclude group: 'com.android.support' }) // Common Markdown compile 'com.github.atlassian:commonmark-java:commonmark-parent-0.9.0' // Android issue reporter (a github issue reporter) compile('com.heinrichreimersoftware:android-issue-reporter:1.3.1', { exclude group: 'com.afollestad.material-dialogs' exclude group: 'com.android.support' }) //MultiLevelListView compile 'com.github.hyb1996:android-multi-level-listview:1.1' //Licenses Dialog compile 'de.psdev.licensesdialog:licensesdialog:1.8.1' //Expandable RecyclerView compile 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' //FlexibleDivider compile 'com.yqritc:recyclerview-flexibledivider:1.4.0' //??? compile 'com.wang.avi:library:2.1.3' //Commons-lang compile 'org.apache.commons:commons-lang3:3.6' //Expandable RecyclerView compile 'com.thoughtbot:expandablerecyclerview:1.3' compile('com.github.hyb1996:FloatingCircularActionMenu:0.0.4') compile 'com.github.hyb1996:Auto.js-ApkBuilder:1.0.1' // RxJava compile "io.reactivex.rxjava2:rxjava:2.1.2" compile 'io.reactivex.rxjava2:rxandroid:2.0.1' // Retrofit compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' //Glide compile('com.github.bumptech.glide:glide:4.2.0', { exclude group: 'com.android.support' }) annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0' //dbflow annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.1.2" compile "com.github.Raizlabs.DBFlow:dbflow-core:4.1.2" compile "com.github.Raizlabs.DBFlow:dbflow:4.1.2" compile "com.github.Raizlabs.DBFlow:dbflow-rx2:4.1.2" //joda time compile 'joda-time:joda-time:2.9.9' // Tasker Plugin compile 'com.twofortyfouram:android-plugin-client-sdk-for-locale:4.0.3' // Flurry compile 'com.flurry.android:analytics:7.0.0@aar' // MaterialDialogCommon compile('com.afollestad.material-dialogs:commons:0.9.2.3', { exclude group: 'com.android.support' }) compile project(':automator') compile project(':common') compile project(':autojs') compile files('libs/GDTUnionSDK.4.9.545.min.jar') }