Skip to content

Commit 424c497

Browse files
committed
调整编译参数
1 parent 66ecdb6 commit 424c497

File tree

8 files changed

+10
-45
lines changed

8 files changed

+10
-45
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ autoxjs 整个项目的的一些更新日志。
55
优化以下特性:
66
* 修复console 界面未创建,修改过程产生空指针问题
77
* 默认可以不修改console 原标题
8+
* 关闭console的提示,修改为系统消息
89

910

1011

app/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ android {
8989

9090
}
9191

92+
9293
}
9394

9495

app/common/debug/output-metadata.json

-35
This file was deleted.

autojs/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ repositories {
3636
flatDir {
3737
dirs 'libs'
3838
}
39-
google()
4039
}
4140

4241
dependencies {

autojs/src/main/java/com/stardust/autojs/runtime/ScriptRuntime.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public void onExit() {
403403
try {
404404

405405
events.emit("exit");
406-
console.log("任务结束,3秒后该窗口关闭");
406+
console.log("系统消息:任务结束,3秒后该窗口关闭");
407407
uiHandler.postDelayed( console::hide,4000);
408408
} catch (Throwable e) {
409409
console.error("exception on exit: ", e);

automator/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ dependencies {
4242
exclude group: 'com.android.support', module: 'support-annotations'
4343
})
4444
testImplementation 'junit:junit:4.12'
45-
api 'androidx.appcompat:appcompat:1.0.2'
45+
api 'androidx.appcompat:appcompat:1.2.0'
4646
api project(path: ':common')
4747
}

build.gradle

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
import groovy.json.JsonSlurper
2-
32
// Top-level build file where you can add configuration options common to all sub-projects/modules.
4-
5-
63
buildscript {
7-
8-
9-
104
ext.kotlin_version = '1.3.72'
115
repositories {
6+
mavenLocal()
7+
mavenCentral()
128
google()
139
jcenter()
1410
}
1511
dependencies {
1612
classpath 'com.android.tools.build:gradle:4.1.0'
1713
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1814
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1'
15+
classpath 'org.codehaus.groovy:groovy-json:3.0.6'
16+
1917

2018
}
2119
}
2220

2321
allprojects {
2422
repositories {
23+
mavenLocal()
2524
jcenter()
2625
maven {
2726
url "https://jitpack.io"

common/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ dependencies {
3232
})
3333
testImplementation 'junit:junit:4.12'
3434
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
35-
api 'androidx.annotation:annotation:1.0.0'
35+
api 'androidx.annotation:annotation:1.1.0'
3636
api 'com.github.hyb1996:settingscompat:1.1.5'
3737
}

0 commit comments

Comments
 (0)