Slackbot
01/08/2020, 9:28 AMSlackbot
02/03/2020, 6:45 PMSlackbot
03/17/2020, 7:50 PMSlackbot
04/01/2020, 9:27 PMSlackbot
04/20/2020, 11:22 AMSlackbot
05/19/2020, 5:35 PMSlackbot
09/03/2020, 11:12 PMSlackbot
09/03/2020, 11:14 PMSlackbot
09/04/2020, 5:04 PMSlackbot
09/09/2020, 3:18 PMSlackbot
09/23/2020, 7:49 AMSlackbot
12/05/2020, 8:17 PMSlackbot
03/28/2021, 4:22 AMSlackbot
07/19/2022, 2:42 PMSlackbot
07/20/2022, 9:36 AMSlackbot
07/20/2022, 9:38 AMSlackbot
07/13/2022, 2:37 PMSlackbot
07/26/2022, 5:22 AMSlackbot
08/17/2022, 8:21 AMSlackbot
08/21/2022, 5:57 PMSlackbot
10/14/2022, 10:38 AMSlackbot
10/24/2022, 4:30 PMSlackbot
10/26/2022, 1:31 PMSlackbot
02/07/2023, 7:24 PMSlackbot
03/23/2023, 6:44 PMSlackbot
04/07/2023, 1:18 PMSlackbot
08/04/2023, 9:54 AMSlackbot
08/18/2023, 3:10 PMHarshit CWS
09/03/2024, 3:55 AMCould not create task 'react native google paycompileReleaseJavaWithJavac'.> In order to compile Java 9+ source, please set compileSdkVersion to 30 or above In my android/build.gradle,i have: buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.22" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.buildG8.2.1") // classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") } } apply plugin: "com.facebook.react.rootproject"
JamesX
06/17/2025, 5:50 PMbuildSrc/
logic; some of it is in precompiled script plugins, but most of it is just a bunch of groovy classes that "do stuff" which everybody hates for (I hope) obvious reasons.
The rest of it is in a separate gradle build checked-in to the same repo. The buildSrc/build.gradle will rebuild + publish that project if it needs it, then everything which consumes logic from there does so using standard gradle plugins. The rebuild check itself is very fast (under 50ms), and avoiding an entire GradleBuild
prerequisite task in the 98% of times the code does not change is nice.
Is there any "official recommendations" I can point to about whether it's better to have separate gradle builds vs buildSrc vs precompiled script plugins to help influence this refactor, so we can land on the "most future friendly" form of reusable gradle build logic?
thanks!