Describe the bug?
After upgrading to react-native 0.83.x my build fails due to gradle being upgraded to version 9.0.0
What is expected to happen?
Build should not fail
What is the actual behavior?
The build fails
Reproduction Steps?
Change the distributionUrl in android/gradle/wrapper/gradle-wrapper.properties to distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
Additional Information?
A pull request has been created. Untill this is approved, merged and published this patch can be used
diff --git a/node_modules/@okta/okta-react-native/android/build.gradle b/node_modules/@okta/okta-react-native/android/build.gradle
index df85505..bb30c8d 100644
--- a/node_modules/@okta/okta-react-native/android/build.gradle
+++ b/node_modules/@okta/okta-react-native/android/build.gradle
@@ -110,7 +110,7 @@ afterEvaluate { project ->
def javaCompileTask = variant.javaCompileProvider.get()
task "jar${name}"(type: Jar, dependsOn: javaCompileTask) {
- from javaCompileTask.destinationDir
+ from javaCompileTask.destinationDirectory
}
}
SDK Version
2.17.2
Build Information
No response
Describe the bug?
After upgrading to react-native 0.83.x my build fails due to gradle being upgraded to version 9.0.0
What is expected to happen?
Build should not fail
What is the actual behavior?
The build fails
Reproduction Steps?
Change the
distributionUrlinandroid/gradle/wrapper/gradle-wrapper.propertiestodistributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zipAdditional Information?
A pull request has been created. Untill this is approved, merged and published this patch can be used
SDK Version
2.17.2
Build Information
No response