@@ -4,87 +4,83 @@ apply plugin: 'com.android.application'
44// apply plugin: ly.count.android.plugins.UploadSymbolsPlugin
55
66android {
7- compileSdkVersion 31
8-
9- defaultConfig {
10- applicationId " ly.count.android.demo.crash"
11- minSdk 21
12- targetSdkVersion 34
13- versionCode 1
14- versionName " 1.0"
15-
16- testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
17-
18-
19- }
20-
21- buildTypes {
22- release {
23- minifyEnabled false
24- proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
25- }
26- }
27-
28- // You can add Countly plugin tasks to release task like this
29- /*
30- afterEvaluate {
31- assembleRelease.finalizedBy(uploadJavaSymbols)
7+ compileSdkVersion 35
8+
9+ defaultConfig {
10+ applicationId " ly.count.android.demo.crash"
11+ minSdk 21
12+ targetSdkVersion 35
13+ versionCode 1
14+ versionName " 1.0"
15+
16+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
17+ }
18+
19+ buildTypes {
20+ release {
21+ minifyEnabled false
22+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
3223 }
33- */
34-
35- externalNativeBuild {
36- cmake {
37- path file(' src/main/cpp/CMakeLists.txt' )
38- }
39- }
40- ndkVersion ' 21.0.6113669'
41-
42- // Use this if you are working with sdk-native subproject instead of maven library.
43- // Change also the dependency config below.
44- /*
45- sourceSets {
46- main {
47- // let gradle pack the shared library into apk
48- jniLibs.srcDirs = ['../sdk-native/libs']
49- }
24+ }
25+
26+ // You can add Countly plugin tasks to release task like this
27+ /*
28+ afterEvaluate {
29+ assembleRelease.finalizedBy(uploadJavaSymbols)
30+ }
31+ */
32+
33+ externalNativeBuild {
34+ cmake {
35+ path file(' src/main/cpp/CMakeLists.txt' )
5036 }
51- */
52-
37+ }
38+ ndkVersion ' 21.0.6113669'
39+
40+ // Use this if you are working with sdk-native subproject instead of maven library.
41+ // Change also the dependency config below.
42+ /*
43+ sourceSets {
44+ main {
45+ // let gradle pack the shared library into apk
46+ jniLibs.srcDirs = ['../sdk-native/libs']
47+ }
48+ }
49+ */
5350}
5451
5552repositories {
56- // needed for using sdk-native from countly maven repo
57- mavenCentral()
53+ // needed for using sdk-native from countly maven repo
54+ mavenCentral()
5855}
5956
6057// sdk and sdk-native are pulled from submodules of the project.
6158// If you are running app independently, you may pull their latest version from our maven repo using the commented lines.
6259dependencies {
63- implementation fileTree(dir : ' libs' , include : [' *.jar' ])
64- implementation ' androidx.appcompat:appcompat:1.2.0'
65- implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
66- implementation project(' :sdk' )
67- // implementation 'ly.count.android:sdk:21.11.0'
68- implementation project(' :sdk-native' )
69- // implementation 'ly.count.android:sdk-native:21.11.0'
70-
71- // testImplementation 'junit:junit:4.13.2'
72- // androidTestImplementation 'androidx.test:runner:1.3.0'
73- // androidTestImplementation 'androidx.test:core:1.3.0'
74- // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
75- // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
60+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
61+ implementation ' androidx.appcompat:appcompat:1.2.0'
62+ implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
63+ implementation project(' :sdk' )
64+ // implementation 'ly.count.android:sdk:21.11.0'
65+ implementation project(' :sdk-native' )
66+ // implementation 'ly.count.android:sdk-native:21.11.0'
67+
68+ // testImplementation 'junit:junit:4.13.2'
69+ // androidTestImplementation 'androidx.test:runner:1.3.0'
70+ // androidTestImplementation 'androidx.test:core:1.3.0'
71+ // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
72+ // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
7673}
7774
7875buildscript {
79- repositories {
80- mavenCentral()
81- }
82- dependencies {
83- classpath group : ' com.squareup.okhttp3' , name : ' okhttp' , version : ' 3.14.1'
84- // classpath files('../upload-plugin/build/libs/upload-plugin.jar')
85- // classpath group: 'ly.count.android', 'name': 'sdk-plugin', 'version': '20.11.8'
86-
87- }
76+ repositories {
77+ mavenCentral()
78+ }
79+ dependencies {
80+ classpath group : ' com.squareup.okhttp3' , name : ' okhttp' , version : ' 3.14.1'
81+ // classpath files('../upload-plugin/build/libs/upload-plugin.jar')
82+ // classpath group: 'ly.count.android', 'name': 'sdk-plugin', 'version': '20.11.8'
83+ }
8884}
8985
9086// the following closure is used to configure Countly plugin tasks
0 commit comments