Hi guys, I'm trying to benchmark a gradle build wi...
# community-support
p
Hi guys, I'm trying to benchmark a gradle build with gradle-profiler using a scenario file containing 2 scenarios. One should use a property from gradle.properties setting it to
false
and the other one to
true
to see the impact. Is that possible? I thought about using
system-properties
but it doesn't seem to be the right one here since it translates to the
-D
arg instead of
-P
v
You can still set project properties from system properites, you just have to follow a certain naming pattern for the system property.
So setting
-Dorg.gradle.project.foo=bar
is the same as setting
-P foo=bar
Or also via environment variable
ORG_GRADLE_PROJECT_foo=bar
I guess you can also use
gradle-args = ["-P", "foo=bar"]
in the scenario file, but I have no experience with the profiler
p
Perfect, thank you very much! Both work, i.e. the special naming pattern as part of the
system-properties
as well as the
gradle-args
variant you mentioned 🙂
👌 1
a
Hi can any one help me on how to fix this error while try to #eas build my android platform?
Copy code
* What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 5m 47s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
🗑️ 1
v
@Asehinde Juwon just as you should not split one topic into multiple threads, you should also not post totally unrelated stuff to existing threads. 😉 So please delete your message here and start a fresh thread. 🙂