Skip to content

Commit 4b07777

Browse files
committed
Remove static library files and enable android tests
1 parent bf4499d commit 4b07777

77 files changed

Lines changed: 3564 additions & 1186 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/build.gradle

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = "1.8.21"
2+
ext.kotlin_version = "2.1.0"
33
repositories {
44
mavenCentral()
55
google()
@@ -58,6 +58,15 @@ android {
5858
versionCode 2
5959
versionName "2.0.0"
6060
}
61+
62+
compileOptions {
63+
sourceCompatibility JavaVersion.VERSION_17
64+
targetCompatibility JavaVersion.VERSION_17
65+
}
66+
67+
kotlinOptions {
68+
jvmTarget = '17'
69+
}
6170
buildTypes {
6271
release {
6372
minifyEnabled false
@@ -70,17 +79,12 @@ android {
7079
}
7180

7281
repositories {
73-
maven {
74-
//update periodically - current version: 0.70.5
75-
url "$rootDir/react-native-android"
76-
}
7782
mavenCentral()
7883
google()
79-
8084
}
8185

8286
dependencies {
83-
api 'com.facebook.react:react-native'
87+
api 'com.facebook.react:react-android:+'
8488

8589
//
8690
// In your app, you should include mParticle core like this:
@@ -104,6 +108,6 @@ dependencies {
104108
testImplementation 'junit:junit:4.13.2'
105109
testImplementation files('libs/java-json.jar')
106110

107-
testImplementation 'com.mparticle:android-core:5.55.0'
108-
testImplementation 'com.facebook.react:react-native:0.20.1'
111+
testImplementation 'com.mparticle:android-core:5+'
112+
testImplementation("com.facebook.react:react-android:+")
109113
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha512

Lines changed: 0 additions & 1 deletion
This file was deleted.

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)