diff --git a/CHANGELOG.md b/CHANGELOG.md index beca92d..dc38812 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.3.3 + +### New in this release +* Updated the native Android agent to version 7.1.0. +* Addressed an issue that prevented app building due to missing compilesdk. + ## 1.3.2 ### New in this release diff --git a/README.md b/README.md index 878e236..541896e 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ AppToken is platform-specific. You need to generate the seprate token for Androi } dependencies { ... - classpath "com.newrelic.agent.android:agent-gradle-plugin:7.0.0" + classpath "com.newrelic.agent.android:agent-gradle-plugin:7.1.0" } } ``` diff --git a/android/build.gradle b/android/build.gradle index ce7f0a7..39c0f71 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,15 +3,17 @@ import io.invertase.gradle.common.PackageJson buildscript { - - repositories { - mavenCentral() - google() - } - dependencies { - classpath 'com.android.tools.build:gradle:7.0.4' + if (project == rootProject) { + repositories { + mavenCentral() + google() + } + + dependencies { + classpath 'com.android.tools.build:gradle:7.4.2' + } } } @@ -56,6 +58,7 @@ android { namespace "com.NewRelic" } + compileSdkVersion 33 defaultConfig { minSdkVersion 21 diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index ffed3a2..a344721 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Tue Sep 26 08:49:14 CDT 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/package.json b/package.json index d9baacf..ca4e11b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newrelic-react-native-agent", - "version": "1.3.2", + "version": "1.3.3", "description": "A New Relic Mobile Agent for React Native", "main": "./index.js", "types": "./dist/index.d.ts", @@ -95,7 +95,7 @@ "newrelic": "7.4.6" }, "android": { - "newrelic": "7.0.0", + "newrelic": "7.1.0", "ndk": "1.0.3" } }