diff --git a/SensorsAnalyticsSDK-AAR/.gitignore b/SensorsAnalyticsSDK-AAR/.gitignore deleted file mode 100644 index 42afabfd..00000000 --- a/SensorsAnalyticsSDK-AAR/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/build.gradle b/SensorsAnalyticsSDK-AAR/build.gradle deleted file mode 100644 index a93ae0a2..00000000 --- a/SensorsAnalyticsSDK-AAR/build.gradle +++ /dev/null @@ -1,47 +0,0 @@ -apply plugin: 'com.android.library' -if (rootProject.ext.publish.isEmbedSensorsSDKAAR) { //用于打本地包 - apply plugin: 'com.kezong.fat-aar' -} - -android { - compileSdkVersion rootProject.ext.buildConfig.compileSdkVersion - - defaultConfig { - minSdkVersion rootProject.ext.buildConfig.minSdkVersion - targetSdkVersion rootProject.ext.buildConfig.targetSdkVersion - versionCode rootProject.ext.buildConfig.versionCode - versionName rootProject.ext.buildConfig.versionName - consumerProguardFiles 'proguard-rules.pro' - testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' - } - buildTypes { - release { - minifyEnabled false - } - } - - testOptions { - unitTests.all { - testLogging { - events 'passed', 'skipped', 'failed', 'standardOut', 'standardError' - outputs.upToDateWhen { false } - showStandardStreams = true - } - } - unitTests.includeAndroidResources = true - } -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - if (rootProject.ext.publish.isEmbedSensorsSDKAAR) { //用于打本地包 - embed project(':module_common') - embed project(':module_webview') - embed project(':module_advert') - embed project(':module_visual') - embed project(':module_autoTrack') - embed project(':module_push') - embed project(':module_encrypt') - embed project(':module_exposure') - } -} \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/consumer-rules.pro b/SensorsAnalyticsSDK-AAR/consumer-rules.pro deleted file mode 100644 index e69de29b..00000000 diff --git a/SensorsAnalyticsSDK-AAR/proguard-rules.pro b/SensorsAnalyticsSDK-AAR/proguard-rules.pro deleted file mode 100644 index 481bb434..00000000 --- a/SensorsAnalyticsSDK-AAR/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/src/androidTest/java/com/sensorsdata/analytics/android/sdk/track/ExampleInstrumentedTest.java b/SensorsAnalyticsSDK-AAR/src/androidTest/java/com/sensorsdata/analytics/android/sdk/track/ExampleInstrumentedTest.java deleted file mode 100644 index 17597b75..00000000 --- a/SensorsAnalyticsSDK-AAR/src/androidTest/java/com/sensorsdata/analytics/android/sdk/track/ExampleInstrumentedTest.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Created by dengshiwei on 2023/01/28. - * 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.sensorsdata.analytics.android.sdk.track; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.sensorsdata.analytics.android.sdk.track.test", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/src/main/AndroidManifest.xml b/SensorsAnalyticsSDK-AAR/src/main/AndroidManifest.xml deleted file mode 100644 index 728d97f3..00000000 --- a/SensorsAnalyticsSDK-AAR/src/main/AndroidManifest.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/src/main/resources/META-INF/services/com.sensorsdata.analytics.android.sdk.core.mediator.protocol.SAModuleProtocol b/SensorsAnalyticsSDK-AAR/src/main/resources/META-INF/services/com.sensorsdata.analytics.android.sdk.core.mediator.protocol.SAModuleProtocol deleted file mode 100644 index 4a3309d8..00000000 --- a/SensorsAnalyticsSDK-AAR/src/main/resources/META-INF/services/com.sensorsdata.analytics.android.sdk.core.mediator.protocol.SAModuleProtocol +++ /dev/null @@ -1,7 +0,0 @@ -com.sensorsdata.analytics.android.sdk.push.core.PushProtocolImp -com.sensorsdata.analytics.android.sdk.exposure.SAExposureProtocolImpl -com.sensorsdata.analytics.android.sdk.encrypt.impl.SAEncryptProtocolImpl -com.sensorsdata.analytics.android.autotrack.core.SensorsAutoTrackAPI -com.sensorsdata.analytics.android.sdk.advert.impl.SensorsAdvertProtocolAPI -com.sensorsdata.analytics.android.sdk.visual.impl.SAVisualProtocolAPI -com.sensorsdata.analytics.android.webview.impl.SensorsWebViewAPI \ No newline at end of file diff --git a/SensorsAnalyticsSDK-AAR/src/test/java/com/sensorsdata/analytics/android/sdk/track/ExampleUnitTest.java b/SensorsAnalyticsSDK-AAR/src/test/java/com/sensorsdata/analytics/android/sdk/track/ExampleUnitTest.java deleted file mode 100644 index 8a36c1ae..00000000 --- a/SensorsAnalyticsSDK-AAR/src/test/java/com/sensorsdata/analytics/android/sdk/track/ExampleUnitTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Created by dengshiwei on 2023/01/28. - * 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.sensorsdata.analytics.android.sdk.track; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file