Skip to content

Commit 8f44686

Browse files
author
weiqiangliu
committed
Release 3.5.4
1 parent 5a50374 commit 8f44686

20 files changed

+58
-47
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Apache License
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2015-2022 Sensors Data Inc.
189+
Copyright 2015-2023 Sensors Data Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ __Gradle 编译环境(Android Studio)__
2020
```android
2121
buildscript {
2222
repositories {
23-
jcenter()
23+
mavenCentral()
2424
}
2525
dependencies {
2626
classpath 'com.android.tools.build:gradle:3.2.0'
2727
//添加 android-gradle-plugin 依赖
28-
       classpath 'com.sensorsdata.analytics.android:android-gradle-plugin2:3.4.6'
28+
       classpath 'com.sensorsdata.analytics.android:android-gradle-plugin2:3.5.4'
2929
}
3030
}
3131
3232
allprojects {
3333
repositories {
34-
jcenter()
34+
mavenCentral()
3535
}
3636
}
3737
```
@@ -45,7 +45,7 @@ apply plugin: 'com.sensorsdata.analytics.android'
4545
4646
dependencies {
4747
//添加 Sensors Analytics SDK 依赖
48-
  compile 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:6.2.0'
48+
  implementation 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:6.6.3'
4949
}
5050
```
5151

@@ -84,7 +84,7 @@ See our [full manual](http://www.sensorsdata.cn/manual/android_sdk.html)
8484

8585
## License
8686

87-
Copyright 2015-2022 Sensors Data Inc.
87+
Copyright 2015-2023 Sensors Data Inc.
8888

8989
Licensed under the Apache License, Version 2.0 (the "License");
9090
you may not use this file except in compliance with the License.

plugin/ext.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project.ext {
2-
pluginVersion = '3.5.3'
2+
pluginVersion = '3.5.4'
33
Properties properties = new Properties()
44
if (project.file('local.properties').exists()) {
55
properties.load(project.file('local.properties').newDataInputStream())

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/ClassNameAnalytics.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by renqingyou on 2018/12/01.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by wangzhuohou on 2015/08/01.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsExtension.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by wangzhuozhou on 2015/08/12.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsHookConfig.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by wangzhuozhou on 2015/08/12.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsJSRAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by renqingyou on 2018/12/01.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by wangzhuozhou on 2015/08/12.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Created by wangzhuozhou on 2015/08/12.
3-
* Copyright 2015-2022 Sensors Data Inc.
3+
* Copyright 2015-2023 Sensors Data Inc.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ import java.util.jar.JarOutputStream
5151

5252
class SensorsAnalyticsTransform extends Transform {
5353
private SensorsAnalyticsTransformHelper transformHelper
54-
public static final String VERSION = "3.5.3"
54+
public static final String VERSION = "3.5.4"
5555
public static final String MIN_SDK_VERSION = "6.5.3"
5656
private WaitableExecutor waitableExecutor
5757
private URLClassLoader urlClassLoader
@@ -139,19 +139,17 @@ class SensorsAnalyticsTransform extends Transform {
139139
if (waitableExecutor) {
140140
waitableExecutor.waitForTasksWithQuickFail(true)
141141
}
142-
println("[SensorsAnalytics]: 此次编译共耗时:${System.currentTimeMillis() - startTime}毫秒")
142+
Logger.info("[SensorsAnalytics]: 此次编译共耗时:${System.currentTimeMillis() - startTime}毫秒")
143143
}
144144

145145
private void beforeTransform(TransformInvocation transformInvocation) {
146146
//打印提示信息
147-
Logger.printCopyright()
148147
Logger.setDebug(transformHelper.extension.debug)
148+
Logger.printCopyright()
149149
transformHelper.onTransform()
150-
println("[SensorsAnalytics]: 是否开启多线程编译:${!transformHelper.disableSensorsAnalyticsMultiThread}")
151-
println("[SensorsAnalytics]: 是否开启增量编译:${!transformHelper.disableSensorsAnalyticsIncremental}")
152-
println("[SensorsAnalytics]: 此次是否增量编译:$transformInvocation.incremental")
153-
println("[SensorsAnalytics]: 是否在方法进入时插入代码:${transformHelper.isHookOnMethodEnter}")
154-
150+
Logger.printPluginConfig(transformHelper.disableSensorsAnalyticsMultiThread,
151+
transformHelper.disableSensorsAnalyticsIncremental,
152+
transformInvocation.incremental, transformHelper.isHookOnMethodEnter)
155153
traverseForClassLoader(transformInvocation)
156154
}
157155

@@ -184,7 +182,7 @@ class SensorsAnalyticsTransform extends Transform {
184182
transformHelper.urlClassLoader = urlClassLoader
185183
checkRNState()
186184
VersionUtils.loadAndroidSDKVersion(urlClassLoader)
187-
if(!isProjectLibrary) {
185+
if (!isProjectLibrary) {
188186
checkSensorsSDK()
189187
}
190188
ModuleUtils.checkModuleStatus(urlClassLoader)

0 commit comments

Comments
 (0)