-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. update version: 3.4.7; 2. rollback saas SDKs.
- Loading branch information
Showing
21 changed files
with
328 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion buildConfiguration.compileVersion | ||
defaultConfig { | ||
minSdkVersion buildConfiguration.minSdkVersion | ||
targetSdkVersion buildConfiguration.targetSdkVersion | ||
versionName releaseConfiguration.releaseVersion | ||
versionCode releaseConfiguration.releaseVersionCode | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
testCoverageEnabled = true | ||
} | ||
|
||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
consumerProguardFiles 'consumer-proguard-rules.pro' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility buildConfiguration.sourceCompatibility | ||
targetCompatibility buildConfiguration.targetCompatibility | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
|
||
debugApi project(':growingio-tracker-core') | ||
releaseApi libraries.growingio.tracker_core | ||
|
||
debugApi project(':growingio-autotracker-core') | ||
releaseApi libraries.growingio.autotracker_core | ||
|
||
debugApi project(':growingio-network:okhttp3') | ||
releaseApi libraries.growingio.okhttp3 | ||
|
||
debugApi project(':growingio-data:database') | ||
releaseApi libraries.growingio.database | ||
|
||
debugApi project(':growingio-data:json') | ||
releaseApi libraries.growingio.json | ||
|
||
debugApi project(':growingio-webservice:circler') | ||
releaseApi libraries.growingio.circler | ||
|
||
debugApi project(':growingio-webservice:debugger') | ||
releaseApi libraries.growingio.debugger | ||
|
||
debugApi project(':growingio-hybrid') | ||
releaseApi libraries.growingio.hybrid | ||
|
||
compileOnly libraries.androidx.appcompat | ||
compileOnly libraries.android.appcompat | ||
|
||
releaseImplementation libraries.growingio.annotation | ||
debugImplementation project(":growingio-annotation") | ||
annotationProcessor project(":growingio-annotation:compiler") | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/gradle/publishMaven.gradle" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
# | ||
# 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. | ||
# | ||
|
||
POM_NAME=autotracker | ||
POM_ARTIFACT_ID=autotracker | ||
POM_PACKAGING=aar | ||
POM_DESCRIPTION=GrowingIO Android SDK AutoTracker. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- | ||
~ Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
~ | ||
~ 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. | ||
--> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.growingio.android.sdk.autotrack.api" /> |
29 changes: 29 additions & 0 deletions
29
...k/autotracker/src/main/java/com/growingio/android/sdk/autotrack/GrowingAutoAppModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
* | ||
* 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.growingio.android.sdk.autotrack; | ||
|
||
import com.growingio.android.sdk.AppGioModule; | ||
import com.growingio.sdk.annotation.GIOAppModule; | ||
import com.growingio.sdk.annotation.GIOTracker; | ||
|
||
@GIOAppModule(name = "GrowingAutotracker", configName = "AutotrackConfiguration") | ||
public class GrowingAutoAppModule extends AppGioModule { | ||
|
||
@GIOTracker(path = Autotracker.class) | ||
public void config(AutotrackConfiguration config) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion buildConfiguration.compileVersion | ||
defaultConfig { | ||
minSdkVersion buildConfiguration.minSdkVersion | ||
targetSdkVersion buildConfiguration.targetSdkVersion | ||
versionName releaseConfiguration.releaseVersion | ||
versionCode releaseConfiguration.releaseVersionCode | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
testCoverageEnabled = true | ||
} | ||
|
||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
consumerProguardFiles 'consumer-proguard-rules.pro' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility buildConfiguration.sourceCompatibility | ||
targetCompatibility buildConfiguration.targetCompatibility | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
|
||
dependencies { | ||
compileOnly fileTree(dir: '../thirdLibs', include: ['*.jar']) | ||
|
||
debugApi project(':growingio-tracker-core') | ||
releaseApi libraries.growingio.tracker_core | ||
|
||
debugApi project(':growingio-network:okhttp3') | ||
releaseApi libraries.growingio.okhttp3 | ||
|
||
debugApi project(':growingio-data:database') | ||
releaseApi libraries.growingio.database | ||
|
||
debugApi project(':growingio-data:json') | ||
releaseApi libraries.growingio.json | ||
|
||
debugApi project(':growingio-webservice:debugger') | ||
releaseApi libraries.growingio.debugger | ||
|
||
compileOnly libraries.android.appcompat | ||
|
||
releaseImplementation libraries.growingio.annotation | ||
debugImplementation project(":growingio-annotation") | ||
annotationProcessor project(":growingio-annotation:compiler") | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/gradle/publishMaven.gradle" | ||
|
||
//tasks.withType(Javadoc) { | ||
// failOnError false | ||
// classpath += project.files("${buildDir}/generated/ap_generated_sources/debug/out") | ||
//} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
# | ||
# 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. | ||
# | ||
|
||
POM_NAME=tracker | ||
POM_ARTIFACT_ID=tracker | ||
POM_PACKAGING=aar | ||
POM_DESCRIPTION=GrowingIO Android Tracker SDK. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- | ||
~ Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
~ | ||
~ 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. | ||
--> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.growingio.android.sdk.track.api" /> |
35 changes: 35 additions & 0 deletions
35
gio-sdk/tracker/src/main/java/com/growingio/android/sdk/track/GrowingAppModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (C) 2020 Beijing Yishu Technology Co., Ltd. | ||
* | ||
* 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.growingio.android.sdk.track; | ||
|
||
import com.growingio.android.sdk.AppGioModule; | ||
import com.growingio.android.sdk.Tracker; | ||
import com.growingio.sdk.annotation.GIOAppModule; | ||
import com.growingio.sdk.annotation.GIOTracker; | ||
|
||
/** | ||
* <p> | ||
* | ||
* @author cpacm 4/28/21 | ||
*/ | ||
@GIOAppModule() | ||
public final class GrowingAppModule extends AppGioModule { | ||
|
||
@GIOTracker(path = Tracker.class) | ||
public void config(TrackConfiguration configuration) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.