update libraries and dependencies's version

This commit is contained in:
hyb1996
2018-10-06 10:12:29 +08:00
parent 9d1fdf3fe9
commit 4851790ad9
20 changed files with 155 additions and 115 deletions

Binary file not shown.

View File

@@ -1,15 +1,23 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
def AAVersion = '4.3.1' def AAVersion = '4.4.0'
def SupportLibVersion = '28.0.0'
configurations.all {
resolutionStrategy {
force "com.android.support:appcompat-v7:${SupportLibVersion}"
force "com.android.support:support-v4:${SupportLibVersion}"
}
}
android { android {
compileSdkVersion 27 compileSdkVersion versions.compile
buildToolsVersion '27.0.3' buildToolsVersion versions.buildTool
defaultConfig { defaultConfig {
applicationId "org.autojs.autojs" applicationId "org.autojs.autojs"
minSdkVersion 17 minSdkVersion versions.mini
targetSdkVersion 23 targetSdkVersion versions.target
versionCode 421 versionCode 423
versionName "4.0.3 Alpha2" versionName "4.0.3 Alpha4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
ndk { ndk {
@@ -24,7 +32,7 @@ android {
} }
release { release {
shrinkResources false shrinkResources false
minifyEnabled true minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }
@@ -70,83 +78,83 @@ repositories {
} }
dependencies { dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
// Android Annotations // Android Annotations
annotationProcessor "org.androidannotations:androidannotations:$AAVersion" annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
compile "org.androidannotations:androidannotations-api:$AAVersion" implementation "org.androidannotations:androidannotations-api:$AAVersion"
// ButterKnife // ButterKnife
compile('com.jakewharton:butterknife:8.6.0', { implementation('com.jakewharton:butterknife:8.8.1', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
// Android supports // Android supports
compile 'com.android.support:appcompat-v7:27.1.1' implementation "com.android.support:appcompat-v7:${SupportLibVersion}"
compile 'com.android.support:cardview-v7:27.1.1' implementation "com.android.support:cardview-v7:${SupportLibVersion}"
compile 'com.android.support:design:27.1.1' implementation "com.android.support:design:${SupportLibVersion}"
compile 'com.android.support:multidex:1.0.3' implementation 'com.android.support:multidex:1.0.3'
// Personal libraries // Personal libraries
compile 'com.github.hyb1996:MutableTheme:0.2.2' implementation 'com.github.hyb1996:MutableTheme:0.2.2'
// Material Dialogs // Material Dialogs
compile('com.afollestad.material-dialogs:core:0.9.2.3', { implementation('com.afollestad.material-dialogs:core:0.9.2.3', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
// Common Markdown // Common Markdown
compile 'com.github.atlassian:commonmark-java:commonmark-parent-0.9.0' implementation 'com.github.atlassian:commonmark-java:commonmark-parent-0.9.0'
// Android issue reporter (a github issue reporter) // Android issue reporter (a github issue reporter)
compile('com.heinrichreimersoftware:android-issue-reporter:1.3.1', { implementation('com.heinrichreimersoftware:android-issue-reporter:1.3.1', {
exclude group: 'com.afollestad.material-dialogs' exclude group: 'com.afollestad.material-dialogs'
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
//MultiLevelListView //MultiLevelListView
compile 'com.github.hyb1996:android-multi-level-listview:1.1' implementation 'com.github.hyb1996:android-multi-level-listview:1.1'
//Licenses Dialog //Licenses Dialog
compile 'de.psdev.licensesdialog:licensesdialog:1.8.1' implementation 'de.psdev.licensesdialog:licensesdialog:1.8.1'
//Expandable RecyclerView //Expandable RecyclerView
compile 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1'
//FlexibleDivider //FlexibleDivider
compile 'com.yqritc:recyclerview-flexibledivider:1.4.0' implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0'
//??? //???
compile 'com.wang.avi:library:2.1.3' implementation 'com.wang.avi:library:2.1.3'
//Commons-lang //Commons-lang
compile 'org.apache.commons:commons-lang3:3.6' implementation 'org.apache.commons:commons-lang3:3.6'
//Expandable RecyclerView //Expandable RecyclerView
compile 'com.thoughtbot:expandablerecyclerview:1.3' implementation 'com.thoughtbot:expandablerecyclerview:1.3'
compile('com.github.hyb1996:FloatingCircularActionMenu:0.0.4') implementation('com.github.hyb1996:FloatingCircularActionMenu:0.0.4')
compile 'com.github.hyb1996:Auto.js-ApkBuilder:1.0.1' implementation 'com.github.hyb1996:Auto.js-ApkBuilder:1.0.1'
// RxJava // RxJava
compile "io.reactivex.rxjava2:rxjava:2.1.2" implementation "io.reactivex.rxjava2:rxjava:2.1.2"
compile 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
// Retrofit // Retrofit
compile 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
//Glide //Glide
compile('com.github.bumptech.glide:glide:4.2.0', { implementation('com.github.bumptech.glide:glide:4.8.0', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
//joda time //joda time
compile 'joda-time:joda-time:2.9.9' implementation 'joda-time:joda-time:2.9.9'
// Tasker Plugin // Tasker Plugin
compile 'com.twofortyfouram:android-plugin-client-sdk-for-locale:4.0.3' implementation 'com.twofortyfouram:android-plugin-client-sdk-for-locale:4.0.3'
// Flurry // Flurry
compile 'com.flurry.android:analytics:7.0.0@aar' implementation 'com.flurry.android:analytics:7.0.0@aar'
// Bugly // Bugly
compile 'com.tencent.bugly:crashreport:2.6.6' implementation 'com.tencent.bugly:crashreport:2.6.6'
// MaterialDialogCommon // MaterialDialogCommon
compile('com.afollestad.material-dialogs:commons:0.9.2.3', { implementation('com.afollestad.material-dialogs:commons:0.9.2.3', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
// Optional, if you use support library fragments: // Optional, if you use support library fragments:
debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.1' debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.1'
compile project(':automator') implementation project(':automator')
compile project(':common') implementation project(':common')
compile project(':autojs') implementation project(':autojs')
implementation (name: 'ads8', ext: 'aar') implementation (name: 'ads8', ext: 'aar')
} }

View File

@@ -23,6 +23,7 @@
<!-- Ad SDK Permissions --> <!-- Ad SDK Permissions -->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/> <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<application <application
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:name=".App" android:name=".App"
@@ -34,6 +35,10 @@
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
tools:replace="android:label, android:icon, android:allowBackup"> tools:replace="android:label, android:icon, android:allowBackup">
<meta-data
android:name="android.max_aspect"
android:value="2.1" />
<activity <activity
android:name=".ui.splash.SplashActivity" android:name=".ui.splash.SplashActivity"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"

View File

@@ -1,6 +1,7 @@
package org.autojs.autojs.model.explorer; package org.autojs.autojs.model.explorer;
import com.stardust.pio.PFile; import com.stardust.pio.PFile;
import com.stardust.util.ObjectHelper;
import org.autojs.autojs.model.script.ScriptFile; import org.autojs.autojs.model.script.ScriptFile;
@@ -9,6 +10,7 @@ import java.util.Arrays;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
public class ExplorerFileItem implements ExplorerItem { public class ExplorerFileItem implements ExplorerItem {
private static final Set<String> sEditableFileExts = new HashSet<>(Arrays.asList( private static final Set<String> sEditableFileExts = new HashSet<>(Arrays.asList(
@@ -19,6 +21,7 @@ public class ExplorerFileItem implements ExplorerItem {
private final ExplorerPage mParent; private final ExplorerPage mParent;
public ExplorerFileItem(PFile file, ExplorerPage parent) { public ExplorerFileItem(PFile file, ExplorerPage parent) {
ObjectHelper.requireNonNull(file, "file");
mFile = file; mFile = file;
mParent = parent; mParent = parent;
} }

View File

@@ -8,11 +8,7 @@ import com.google.gson.JsonParseException;
import com.google.gson.JsonParser; import com.google.gson.JsonParser;
import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StringReader; import java.io.StringReader;
import java.net.Socket;
import javax.annotation.Nullable; import javax.annotation.Nullable;
@@ -23,7 +19,6 @@ import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
import okhttp3.WebSocket; import okhttp3.WebSocket;
import okhttp3.WebSocketListener; import okhttp3.WebSocketListener;
import okio.ByteString;
public class JsonWebSocket extends WebSocketListener { public class JsonWebSocket extends WebSocketListener {

View File

@@ -6,7 +6,6 @@ import android.support.annotation.StringRes;
import com.afollestad.materialdialogs.MaterialDialog; import com.afollestad.materialdialogs.MaterialDialog;
import com.stardust.pio.PFile; import com.stardust.pio.PFile;
import com.tencent.bugly.crashreport.BuglyLog;
import org.autojs.autojs.R; import org.autojs.autojs.R;
import org.autojs.autojs.model.explorer.Explorer; import org.autojs.autojs.model.explorer.Explorer;

View File

@@ -176,6 +176,8 @@ public class MainActivity extends BaseActivity implements OnActivityResultDelega
} }
private void setUpViewPagerFragmentBehaviors() { private void setUpViewPagerFragmentBehaviors() {
mPagerAdapter.setOnFragmentInstantiateListener((pos, fragment) -> { mPagerAdapter.setOnFragmentInstantiateListener((pos, fragment) -> {
((ViewPagerFragment) fragment).setFab(mFab); ((ViewPagerFragment) fragment).setFab(mFab);
if (pos == mViewPager.getCurrentItem()) { if (pos == mViewPager.getCurrentItem()) {

View File

@@ -239,9 +239,9 @@ public class DrawerFragment extends android.support.v4.app.Fragment {
SettingsActivity.selectThemeColor(getActivity()); SettingsActivity.selectThemeColor(getActivity());
} }
@SuppressLint("CheckResult")
private void enableAccessibilityServiceByRootIfNeeded() { private void enableAccessibilityServiceByRootIfNeeded() {
Observable.fromCallable(() -> Pref.shouldEnableAccessibilityServiceByRoot() && !isAccessibilityServiceEnabled()) Observable.fromCallable(() -> Pref.shouldEnableAccessibilityServiceByRoot() && !isAccessibilityServiceEnabled())
.subscribeOn(Schedulers.computation())
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe(needed -> { .subscribe(needed -> {
if (needed) { if (needed) {

View File

@@ -1,12 +1,12 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 27 compileSdkVersion versions.compile
buildToolsVersion '27.0.3' buildToolsVersion versions.buildTool
defaultConfig { defaultConfig {
minSdkVersion 17 minSdkVersion versions.mini
targetSdkVersion 25 targetSdkVersion versions.target
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
@@ -35,35 +35,34 @@ repositories {
} }
dependencies { dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
compile fileTree(dir: 'libs', include: ['*.jar']) api fileTree(dir: 'libs', include: ['*.jar'])
compile 'org.greenrobot:eventbus:3.0.0' api 'org.greenrobot:eventbus:3.0.0'
compile 'net.lingala.zip4j:zip4j:1.3.2' api 'net.lingala.zip4j:zip4j:1.3.2'
compile('com.afollestad.material-dialogs:core:0.9.2.3', { api('com.afollestad.material-dialogs:core:0.9.2.3', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
compile 'com.android.support:design:25.4.0' api 'com.android.support:design:28.0.0'
compile 'com.android.support:appcompat-v7:25.4.0' api 'com.github.hyb1996:EnhancedFloaty:0.21'
compile 'com.github.hyb1996:EnhancedFloaty:0.21' api 'com.github.hyb1996:OpenCvLib:2.4.13.4-imgproc'
compile 'com.github.hyb1996:OpenCvLib:2.4.13.4-imgproc' api 'com.makeramen:roundedimageview:2.3.0'
compile 'com.makeramen:roundedimageview:2.3.0'
// OkHttp // OkHttp
compile 'com.squareup.okhttp3:okhttp:3.9.0' api 'com.squareup.okhttp3:okhttp:3.10.0'
//JDeferred //JDeferred
compile 'org.jdeferred:jdeferred-android-aar:1.2.6' api 'org.jdeferred:jdeferred-android-aar:1.2.6'
//RootShell //RootShell
compile 'com.github.Stericson:RootShell:1.6' api 'com.github.Stericson:RootShell:1.6'
// Gson // Gson
compile 'com.google.code.gson:gson:2.8.0' api 'com.google.code.gson:gson:2.8.2'
// Terminal emulator // Terminal emulator
compile(name: 'libtermexec-release', ext: 'aar') api(name: 'libtermexec-release', ext: 'aar')
compile(name: 'emulatorview-release', ext: 'aar') api(name: 'emulatorview-release', ext: 'aar')
compile(name: 'term-debug', ext: 'aar') api(name: 'term-debug', ext: 'aar')
compile files('libs/rhino-1.7.7.2.jar') api files('libs/rhino-1.7.7.2.jar')
compile project(path: ':common') api project(path: ':common')
compile project(path: ':automator') api project(path: ':automator')
} }

View File

@@ -15,6 +15,10 @@ import com.stardust.automator.UiObjectCollection;
import com.stardust.automator.filter.DfsFilter; import com.stardust.automator.filter.DfsFilter;
import com.stardust.view.accessibility.AccessibilityNodeInfoAllocator; import com.stardust.view.accessibility.AccessibilityNodeInfoAllocator;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ACCESSIBILITY_FOCUS; import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ACCESSIBILITY_FOCUS;
import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ARGUMENT_COLUMN_INT; import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ARGUMENT_COLUMN_INT;
import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ARGUMENT_PROGRESS_VALUE; import static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.ACTION_ARGUMENT_PROGRESS_VALUE;
@@ -98,6 +102,7 @@ public class UiSelector extends UiGlobalSelector {
return regex; return regex;
} }
@Override @Override
public UiGlobalSelector classNameMatches(String regex) { public UiGlobalSelector classNameMatches(String regex) {
return super.classNameMatches(convertRegex(regex)); return super.classNameMatches(convertRegex(regex));

View File

@@ -93,10 +93,6 @@ public class ScriptCanvas {
return mCanvas.save(); return mCanvas.save();
} }
public int save(int saveFlags) {
return mCanvas.save(saveFlags);
}
public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, int saveFlags) { public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, int saveFlags) {
return mCanvas.saveLayer(bounds, paint, saveFlags); return mCanvas.saveLayer(bounds, paint, saveFlags);
} }

View File

@@ -5,6 +5,7 @@ import android.content.Context;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.os.MessageQueue; import android.os.MessageQueue;
import android.util.Log;
import com.stardust.autojs.core.looper.LooperHelper; import com.stardust.autojs.core.looper.LooperHelper;
import com.stardust.autojs.script.JavaScriptSource; import com.stardust.autojs.script.JavaScriptSource;
@@ -44,6 +45,7 @@ public class LoopBasedJavaScriptEngine extends RhinoJavaScriptEngine {
if (callback != null) if (callback != null)
callback.onResult(o); callback.onResult(o);
} catch (Exception e) { } catch (Exception e) {
Log.d("DDDDD", "execute: " + e.getMessage());
if (callback == null) { if (callback == null) {
throw e; throw e;
} else { } else {

View File

@@ -205,6 +205,7 @@ public class RhinoJavaScriptEngine extends JavaScriptEngine {
@Override @Override
protected void observeInstructionCount(Context cx, int instructionCount) { protected void observeInstructionCount(Context cx, int instructionCount) {
if (Thread.currentThread().isInterrupted() && Looper.myLooper() != Looper.getMainLooper()) { if (Thread.currentThread().isInterrupted() && Looper.myLooper() != Looper.getMainLooper()) {
Log.d("DDDDD", "thread interrupt: " + Thread.currentThread());
throw new ScriptInterruptedException(); throw new ScriptInterruptedException();
} }
} }

View File

@@ -1,12 +1,12 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 25 compileSdkVersion versions.compile
buildToolsVersion '26.0.2' buildToolsVersion versions.buildTool
defaultConfig { defaultConfig {
minSdkVersion 17 minSdkVersion versions.mini
targetSdkVersion 25 targetSdkVersion versions.target
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
@@ -33,10 +33,10 @@ repositories {
} }
dependencies { dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.4.0' api 'com.android.support:appcompat-v7:28.0.0'
compile project(path: ':common') api project(path: ':common')
} }

View File

@@ -2,11 +2,11 @@
buildscript { buildscript {
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.android.tools.build:gradle:3.1.4'
} }
} }
@@ -18,9 +18,19 @@ allprojects {
url "https://jitpack.io" url "https://jitpack.io"
} }
google() google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
} }
} }
task clean(type: Delete) { task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }
ext {
versions = [
target: 28,
mini: 17,
compile: 28,
buildTool: '28.0.3'
]
}

View File

@@ -1,12 +1,12 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 25 compileSdkVersion versions.compile
buildToolsVersion '26.0.2' buildToolsVersion versions.buildTool
defaultConfig { defaultConfig {
minSdkVersion 17 minSdkVersion versions.mini
targetSdkVersion 25 targetSdkVersion versions.target
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
@@ -23,10 +23,10 @@ android {
} }
dependencies { dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
compile 'com.android.support:support-annotations:25.4.0' api 'com.android.support:support-annotations:28.0.0'
compile 'com.github.hyb1996:settingscompat:1.1.5' api 'com.github.hyb1996:settingscompat:1.1.5'
} }

View File

@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":421},"path":"commonRelease-4.0.3 Alpha2.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}] [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":423},"path":"commonRelease-4.0.3 Alpha4.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}]

View File

@@ -0,0 +1,16 @@
package com.stardust.util;
public class ObjectHelper {
public static void requireNonNull(Object obj, String name){
if(obj == null){
throw new NullPointerException(name + " should not be null");
}
}
public static void requireNonNull(Object obj){
if(obj == null){
throw new NullPointerException();
}
}
}

View File

@@ -1,6 +1,6 @@
#Mon Nov 27 21:40:02 CST 2017 #Fri Oct 05 23:57:16 CST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

View File

@@ -1,13 +1,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 25 compileSdkVersion versions.compile
buildToolsVersion '26.0.2' buildToolsVersion versions.buildTool
defaultConfig { defaultConfig {
applicationId "com.stardust.auojs.inrt" applicationId "com.stardust.auojs.inrt"
minSdkVersion 17 minSdkVersion versions.mini
targetSdkVersion 23 targetSdkVersion versions.target
versionCode 210 versionCode 210
versionName "4.0.2 Alpha5" versionName "4.0.2 Alpha5"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -44,17 +44,16 @@ repositories {
} }
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
compile 'com.android.support:appcompat-v7:25.4.0'
//Glide //Glide
compile('com.github.bumptech.glide:glide:4.2.0', { implementation('com.github.bumptech.glide:glide:4.2.0', {
exclude group: 'com.android.support' exclude group: 'com.android.support'
}) })
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
compile project(':automator') implementation project(':automator')
compile project(':common') implementation project(':common')
compile project(':autojs') implementation project(':autojs')
} }