6.0.0 - 部分插件及工具版本更新
This commit is contained in:
@@ -1,19 +1,23 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_16
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << '-Xlint:deprecation' << '-Xlint:unchecked'
|
||||
}
|
||||
|
||||
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 {
|
||||
@@ -21,11 +25,9 @@ android {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_16
|
||||
targetCompatibility JavaVersion.VERSION_16
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
@@ -33,45 +35,51 @@ android {
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
testImplementation 'junit:junit:4.12'
|
||||
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||
api 'org.greenrobot:eventbus:3.0.0'
|
||||
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.1.0-alpha01'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
|
||||
api 'org.greenrobot:eventbus:3.2.0'
|
||||
|
||||
api 'net.lingala.zip4j:zip4j:2.9.1'
|
||||
|
||||
api('com.afollestad.material-dialogs:core:0.9.6.0')
|
||||
api 'com.google.android.material:material:1.5.0-beta01'
|
||||
|
||||
api 'com.github.hyb1996:EnhancedFloaty:0.31'
|
||||
|
||||
api 'com.makeramen:roundedimageview:2.3.0'
|
||||
// OpenCv
|
||||
api(name: 'opencv-3.4.3', ext: 'aar')
|
||||
|
||||
// OkHttp
|
||||
api 'com.squareup.okhttp3:okhttp:3.10.0'
|
||||
api 'com.squareup.okhttp3:okhttp:5.0.0-alpha.3'
|
||||
|
||||
// JDeferred
|
||||
api 'org.jdeferred:jdeferred-android-aar:1.2.6'
|
||||
//RootShell
|
||||
|
||||
// RootShell
|
||||
api 'com.github.Stericson:RootShell:1.6'
|
||||
|
||||
// Gson
|
||||
api 'com.google.code.gson:gson:2.8.2'
|
||||
// log4j
|
||||
api 'com.google.code.gson:gson:2.8.9'
|
||||
|
||||
// Log4j
|
||||
api group: 'de.mindpipe.android', name: 'android-logging-log4j', version: '1.0.3'
|
||||
api group: 'log4j', name: 'log4j', version: '1.2.17'
|
||||
// Terminal emulator
|
||||
api(name: 'libtermexec-release', ext: 'aar')
|
||||
api(name: 'emulatorview-release', ext: 'aar')
|
||||
api(name: 'term-debug', ext: 'aar')
|
||||
api files('libs/rhino-1.7.7.2.jar')
|
||||
api project(path: ':common')
|
||||
api project(path: ':automator')
|
||||
}
|
||||
|
||||
// Preference
|
||||
api 'androidx.preference:preference-ktx:1.1.1'
|
||||
|
||||
// Terminal emulator
|
||||
api project(":libs:jackpal.androidterm.libtermexec-1.0")
|
||||
api project(":libs:jackpal.androidterm.emulatorview-1.0.42")
|
||||
api project(":libs:jackpal.androidterm-1.0.70")
|
||||
|
||||
api project(":libs:com.android.dx-1.7.0")
|
||||
api project(":libs:org.mozilla.rhino-1.7.14")
|
||||
api project(':libs:org.opencv-4.5.4')
|
||||
|
||||
api project(':common')
|
||||
api project(':automator')
|
||||
}
|
||||
Reference in New Issue
Block a user