Skip to content

Commit 3a912a3

Browse files
cortinicofacebook-github-bot
authored andcommitted
Add foojay-resolver-convention to auto-download the right JDK (#38139)
Summary: Pull Request resolved: #38139 This adds https://github.com/gradle/foojay-toolchains to our build setup. This will make sure that if the user doesn't have JDK 17 installed, it will be autodownloaded once they try to build the first time. Changelog: [Internal] [Changed] - Add foojay-resolver-convention to auto-download the right JDK Reviewed By: sammy-SC Differential Revision: D47129944 fbshipit-source-id: fd49f6dfe5f87ce3f01e5cce3527144fb96f032a
1 parent 5bda54c commit 3a912a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

settings.gradle.kts

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ if (File("${rootDir}/packages").exists()) {
2828

2929
rootProject.name = "react-native-github"
3030

31-
plugins { id("com.gradle.enterprise").version("3.7.1") }
31+
plugins {
32+
id("com.gradle.enterprise").version("3.7.1")
33+
id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0")
34+
}
3235

3336
// If you specify a file inside gradle/gradle-enterprise.gradle.kts
3437
// you can configure your custom Gradle Enterprise instance

0 commit comments

Comments
 (0)