mirror of
https://github.com/TonyJiangWJ/Auto.js.git
synced 2026-06-24 21:33:16 +08:00
82 lines
2.2 KiB
Groovy
82 lines
2.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion versions.compile
|
|
buildToolsVersion versions.buildTool
|
|
|
|
defaultConfig {
|
|
minSdkVersion versions.mini
|
|
targetSdkVersion versions.target
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['libs']
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
testImplementation "junit:junit:$junit_version"
|
|
api fileTree(include: ['*.jar'], dir: 'libs')
|
|
api 'org.greenrobot:eventbus:3.3.1'
|
|
api 'net.lingala.zip4j:zip4j:1.3.2'
|
|
api('com.afollestad.material-dialogs:core:0.9.2.3', {
|
|
exclude group: 'com.android.support'
|
|
})
|
|
api 'com.google.android.material:material:1.4.0'
|
|
api 'com.github.hyb1996:EnhancedFloaty:0.31'
|
|
api 'com.makeramen:roundedimageview:2.3.0'
|
|
// OpenCv
|
|
api project(path: ':autojs-aar:opencv')
|
|
// OkHttp
|
|
api 'com.squareup.okhttp3:okhttp:3.10.0'
|
|
// JDeferred
|
|
api 'org.jdeferred:jdeferred-android-aar:1.2.6'
|
|
//RootShell
|
|
api 'com.github.Stericson:RootShell:1.6'
|
|
// Gson
|
|
api 'com.google.code.gson:gson:2.8.6'
|
|
// log4j
|
|
api 'de.mindpipe.android:android-logging-log4j:1.0.3'
|
|
api 'log4j:log4j:1.2.17'
|
|
// Terminal emulator
|
|
|
|
api project(path: ':autojs-aar:libtermexec')
|
|
api project(path: ':autojs-aar:emulatorview')
|
|
api project(path: ':autojs-aar:term')
|
|
api files('libs/rhino-1.7.11.jar')
|
|
api project(path: ':common')
|
|
api project(path: ':automator')
|
|
implementation 'com.rmtheis:tess-two:9.1.0'
|
|
}
|
|
|