diff --git a/LICENSE b/LICENSE index 73b859b..3fb84eb 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ Apache License same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2015-2021 Sensors Data Inc. + Copyright 2015-2022 Sensors Data Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 475c2ba..c39d3ba 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.2.0' //添加 android-gradle-plugin 依赖 -        classpath 'com.sensorsdata.analytics.android:android-gradle-plugin2:3.2.4' +        classpath 'com.sensorsdata.analytics.android:android-gradle-plugin2:3.4.6' } } @@ -45,7 +45,7 @@ apply plugin: 'com.sensorsdata.analytics.android' dependencies { //添加 Sensors Analytics SDK 依赖 -   compile 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:4.0.8' +   compile 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:6.2.0' } ``` @@ -84,7 +84,7 @@ See our [full manual](http://www.sensorsdata.cn/manual/android_sdk.html) ## License -Copyright 2015-2021 Sensors Data Inc. +Copyright 2015-2022 Sensors Data Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/plugin/bintray.gradle b/plugin/bintray.gradle index c86f0cc..a62c0f8 100755 --- a/plugin/bintray.gradle +++ b/plugin/bintray.gradle @@ -94,7 +94,7 @@ publishing { def mavenPassword = properties.getProperty("maven.password") maven { // url ='../repo' - url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' + url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' credentials { username mavenUser password mavenPassword diff --git a/plugin/ext.gradle b/plugin/ext.gradle index 957130e..c54754a 100755 --- a/plugin/ext.gradle +++ b/plugin/ext.gradle @@ -1,5 +1,5 @@ project.ext { - pluginVersion = '3.4.5' + pluginVersion = '3.4.6' Properties properties = new Properties() if (project.file('local.properties').exists()) { properties.load(project.file('local.properties').newDataInputStream()) diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/ClassNameAnalytics.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/ClassNameAnalytics.groovy index cb9efa6..9449394 100755 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/ClassNameAnalytics.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/ClassNameAnalytics.groovy @@ -1,6 +1,6 @@ /* * Created by renqingyou on 2018/12/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/LogUI.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/LogUI.groovy index 4ecbb98..364401c 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/LogUI.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/LogUI.groovy @@ -1,6 +1,6 @@ /* * Created by zhangwei on 2020/05/21. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/Logger.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/Logger.groovy index 83783f2..2a77a95 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/Logger.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/Logger.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy index 993e012..2cd5557 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuohou on 2015/08/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsDefaultMethodVisitor.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsDefaultMethodVisitor.groovy index 0abdaa4..c512122 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsDefaultMethodVisitor.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsDefaultMethodVisitor.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsExtension.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsExtension.groovy index 63b5922..a6ca44c 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsExtension.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsExtension.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsHookConfig.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsHookConfig.groovy index 3655c9f..84f997d 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsHookConfig.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsHookConfig.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsJSRAdapter.java b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsJSRAdapter.java index 0379680..bfbb172 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsJSRAdapter.java +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsJSRAdapter.java @@ -1,6 +1,6 @@ /* * Created by renqingyou on 2018/12/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsMethodCell.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsMethodCell.groovy index dbe4603..ada7f25 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsMethodCell.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsMethodCell.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsPlugin.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsPlugin.groovy index da08af1..d4dd5f8 100755 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsPlugin.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsPlugin.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKExtension.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKExtension.groovy index 1e1941c..babe3a3 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKExtension.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKExtension.groovy @@ -1,6 +1,6 @@ /* * Created by renqingyou on 2018/12/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKHookConfig.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKHookConfig.groovy index 150e081..1e25643 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKHookConfig.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsSDKHookConfig.groovy @@ -1,6 +1,6 @@ /* * Created by renqingyou on 2018/12/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy index 1a1a23c..818ca9f 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ import java.util.jar.JarOutputStream class SensorsAnalyticsTransform extends Transform { private SensorsAnalyticsTransformHelper transformHelper - public static final String VERSION = "3.4.5" + public static final String VERSION = "3.4.6" public static final String MIN_SDK_VERSION = "5.4.3" private WaitableExecutor waitableExecutor private URLClassLoader urlClassLoader diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransformHelper.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransformHelper.groovy index 4f046f9..9a19a04 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransformHelper.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransformHelper.groovy @@ -1,6 +1,6 @@ /* * Created by renqingyou on 2018/12/01. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +46,8 @@ class SensorsAnalyticsTransformHelper { "com.getui", "com.xiaomi.mipush.sdk", "com.heytap.msp.push", - 'com.bumptech.glide']) + 'com.bumptech.glide', + 'com.tencent.tinker']) HashSet include = new HashSet<>(['butterknife.internal.DebouncingOnClickListener', 'com.jakewharton.rxbinding.view.ViewClickOnSubscribe', 'com.facebook.react.uimanager.NativeViewHierarchyManager']) diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsUtil.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsUtil.groovy index bc57087..dc5ae03 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsUtil.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsUtil.groovy @@ -1,6 +1,6 @@ /* * Created by wangzhuozhou on 2015/08/12. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsWebViewMethodVisitor.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsWebViewMethodVisitor.groovy index 34621ca..5164775 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsWebViewMethodVisitor.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsWebViewMethodVisitor.groovy @@ -1,6 +1,6 @@ /* * Created by zhangwei on 2020/05/21. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/push/SensorsAnalyticsPushMethodVisitor.java b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/push/SensorsAnalyticsPushMethodVisitor.java index ca37ab5..c60a989 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/push/SensorsAnalyticsPushMethodVisitor.java +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/push/SensorsAnalyticsPushMethodVisitor.java @@ -1,6 +1,6 @@ /* * Created by zhangwei on 2021/08/09. - * Copyright 2015-2021 Sensors Data Inc. + * Copyright 2015-2022 Sensors Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.