Skip to content

Commit

Permalink
Merge pull request kkevsekk1#267 from LZX284/dev
Browse files Browse the repository at this point in the history
增加注入AutoX的Web入口,补充编译API32所需的JDK版本
  • Loading branch information
aaron authored May 23, 2022
2 parents 6ca6948 + 453a4ca commit eb861df
Show file tree
Hide file tree
Showing 39 changed files with 1,754 additions and 356 deletions.
34 changes: 18 additions & 16 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

def AAVersion = '4.5.2'
def AAVersion = '4.8.0'
def SupportLibVersion = '28.0.0'

File propFile =new File("E:/资料/jks/autojs-app/sign.properties");
Expand Down Expand Up @@ -179,9 +179,9 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.13'
testImplementation 'junit:junit:4.13.2'
// Kotlin
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1-native-mt"
// Android Annotations
annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
kapt "org.androidannotations:androidannotations:$AAVersion"
Expand Down Expand Up @@ -221,42 +221,42 @@ dependencies {
//???
implementation 'com.wang.avi:library:2.1.3'
//Commons-lang
implementation 'org.apache.commons:commons-lang3:3.6'
implementation 'org.apache.commons:commons-lang3:3.12.0'
// 证书签名相关
implementation 'com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0'
//Expandable RecyclerView
implementation 'com.thoughtbot:expandablerecyclerview:1.3'
// implementation 'org.signal.autox:apkbuilder:1.0.3'
// RxJava
implementation "io.reactivex.rxjava2:rxjava:2.2.3"
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation "io.reactivex.rxjava2:rxjava:2.2.21"
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
//Glide
implementation('com.github.bumptech.glide:glide:4.8.0', {
exclude group: 'com.android.support'
})
kapt 'com.github.bumptech.glide:compiler:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
kapt 'com.github.bumptech.glide:compiler:4.13.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.1'
//joda time
implementation 'joda-time:joda-time:2.9.9'
implementation 'joda-time:joda-time:2.10.13'
// Tasker Plugin
implementation 'com.twofortyfouram:android-plugin-client-sdk-for-locale:4.0.3'
// Flurry
implementation 'com.flurry.android:analytics:7.0.0@aar'
implementation 'com.flurry.android:analytics:13.1.0@aar'
// Bugly
implementation 'com.tencent.bugly:crashreport:2.6.6'
implementation 'com.tencent.bugly:crashreport:4.0.0'
// MaterialDialogCommon
implementation('com.afollestad.material-dialogs:commons:0.9.2.3', {
exclude group: 'com.android.support'
})
// Android job
implementation 'com.evernote:android-job:1.2.6'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
implementation 'com.evernote:android-job:1.4.2'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
// Optional, if you use support library fragments:
debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.3'
Expand All @@ -265,4 +265,6 @@ dependencies {
implementation project(':autojs')
implementation project(':apkbuilder')
implementation 'androidx.multidex:multidex:2.0.1'
// libs
api fileTree(dir: '/libs', include: ['*.jar'])
}
Binary file not shown.
10 changes: 1 addition & 9 deletions app/src/main/java/org/autojs/autojs/App.kt
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
package org.autojs.autojs

import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.drawable.Drawable
import android.net.Uri
import androidx.multidex.MultiDexApplication
import android.view.View
import android.widget.ImageView
import androidx.localbroadcastmanager.content.LocalBroadcastManager
import androidx.multidex.MultiDexApplication
import com.bumptech.glide.Glide
import com.bumptech.glide.request.target.SimpleTarget
import com.bumptech.glide.request.transition.Transition
import com.evernote.android.job.JobRequest
import com.flurry.android.FlurryAgent
import com.squareup.leakcanary.LeakCanary
import com.stardust.app.GlobalAppContext
import com.stardust.autojs.core.ui.inflater.ImageLoader
import com.stardust.autojs.core.ui.inflater.util.Drawables
Expand Down Expand Up @@ -70,11 +67,6 @@ class App : MultiDexApplication() {

crashHandler.setBuglyHandler(Thread.getDefaultUncaughtExceptionHandler())
Thread.setDefaultUncaughtExceptionHandler(crashHandler)
if (LeakCanary.isInAnalyzerProcess(this)) {
// This process is dedicated to LeakCanary for heap analysis.
// You should not init your app in this process.
return
}
//LeakCanary.install(this);

}
Expand Down
Loading

0 comments on commit eb861df

Please sign in to comment.