<@U0B89PWE4> how timely, I just wrote this <https:...
# gradle
j
FYI there is a broken link
link<https://github.com/gradle/kotlin-dsl/issues/[gradle/kotlin-dsl> issue tracker].
d
/Library/Logs/gradle-kotlin-dsl
super helpful now i handled all issues with resolving. Further ideas: 1. how can i make sure resolution works correctly via CI checks? Can i fail build somehow? any ideas 2. usability: this logs could be closer to the IDE, maybe separate panel? 3. how can i pass option to get bigger stacktace in these logs?
…. 103 more
in some crucial places 🙂
e
1. not that easy, but you could look at the
*ModelIntegrationTest
in
gradle/kotlin-dsl
, they basically do the TAPI request
2. agreed, we need improvements in what IDEA offers to us to make it easier (e.g. clickable link to the log)
3. you can’t, it’s the regular jvm printStackTrace
d
3. isn’t -XX:MaxJavaStackTraceDepth do the trick?
3. right, this might do
d
i just wonder which jvm process should i tweak?
e
that’s the tricky part 🙂
d
i’ll try to trace it by myself 🙂
e
it’s the gradle process run over TAPI from the kotlin-dsl component that gets loaded into intellij
🙀 1
your best best will be to set that in your
gradle.properties
file, it should be honored
👍 1
d
targeting all my scripts..
or… simply my root script, because it has
subprojects
block
e
yep
G 1
d
cool, let’s try it, ill report of my results
👍 1
sadly, i couldn’t pass args to script resolution:
Copy code
ResolutionRequest(
	environment = {gradleHome=/Users/dsvoronin/.gradle/wrapper/dists/gradle-4.10.2-bin/em75h4kbtmi6i8f32m058ve4q/gradle-4.10.2, projectRoot=/Users/dsvoronin/Work/avito-android, gradleWithConnection=Function1<kotlin.jvm.functions.Function1<? super org.gradle.tooling.ProjectConnection, ? extends kotlin.Unit>, kotlin.Unit>, gradleJavaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home, gradleJvmOptions=[], getScriptSectionTokens=fun topLevelSectionCodeTextTokens(kotlin.CharSequence, kotlin.String): kotlin.sequences.Sequence<kotlin.CharSequence>},
So no full stacktrace for me Tried: ~/.gradle/gradle.properties and GRADLE_OPTS Thats for -XX: option