96 lines
2.4 KiB
Groovy
96 lines
2.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
// tasks.withType(JavaCompile) {
|
|
// options.compilerArgs << '-Xlint:deprecation'
|
|
// }
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_16
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion versions.project.compile
|
|
|
|
defaultConfig {
|
|
minSdkVersion versions.project.mini
|
|
targetSdkVersion versions.project.target
|
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_16
|
|
targetCompatibility JavaVersion.VERSION_16
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
// Kotlin
|
|
// noinspection DifferentStdlibGradleVersion
|
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
// Android supports
|
|
api 'com.google.android.material:material:1.5.0'
|
|
|
|
// Material Dialogs
|
|
// noinspection GradleDependency
|
|
api "com.afollestad.material-dialogs:core:${versions.materialDialogs}"
|
|
api "com.afollestad.material-dialogs:commons:0.9.6.0"
|
|
|
|
// Glide
|
|
api "com.github.bumptech.glide:glide:${versions.glide}"
|
|
|
|
// RoundedImageView
|
|
api 'com.makeramen:roundedimageview:2.3.0'
|
|
|
|
// EventBus
|
|
api 'org.greenrobot:eventbus:3.3.1'
|
|
|
|
// Annotation
|
|
api 'androidx.annotation:annotation:1.3.0'
|
|
|
|
// Preference
|
|
api 'androidx.preference:preference-ktx:1.2.0'
|
|
|
|
// RootShell
|
|
api 'com.github.Stericson:RootShell:1.6'
|
|
|
|
// JDeferred
|
|
api 'org.jdeferred:jdeferred-android-aar:1.2.6'
|
|
|
|
// Rx
|
|
api 'io.reactivex.rxjava2:rxjava:2.2.21'
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1@aar'
|
|
|
|
// Auto.js
|
|
api 'com.github.hyb1996:settingscompat:1.1.5'
|
|
api 'com.github.hyb1996:EnhancedFloaty:0.31'
|
|
|
|
// AppCompat
|
|
api 'androidx.appcompat:appcompat:1.4.1'
|
|
api project(':libs:androidx.appcompat-1.0.2')
|
|
|
|
// LocaleHelper
|
|
api project(':libs:com.zeugmasolutions.localehelper-1.5.1')
|
|
|
|
// OpenCV
|
|
api project(':libs:org.opencv-4.5.5')
|
|
|
|
// Rhino
|
|
api project(':libs:org.mozilla.rhino-1.7.14')
|
|
}
|