Colton Idle
09/18/2025, 1:16 AM.gradle folder on my mac. then sync again. and everything works.
Anyone know why that is? deleting .gradle is a heavy operation and id love to only delete a specific file or something inside of .gradle if anyone knows the true culprit.ephemient
09/18/2025, 4:39 AMPhilip W
09/18/2025, 4:47 AMVampire
09/18/2025, 7:29 AM--refresh-dependencies or to use the according IDE button?ephemient
09/18/2025, 3:29 PMephemient
09/18/2025, 3:30 PMVampire
09/18/2025, 3:34 PMColton Idle
09/18/2025, 4:50 PMInstead of deleting your whole Gradle User Home, is it not sufficient to usecorrect. ive tried those two things. no dice.or to use the according IDE button?--refresh-dependencies
Colton Idle
09/18/2025, 4:52 PMsurely something like https://gradle-community.slack.com/archives/CAHSN3LDN/p1723196089290129?thread_ts=1723190399.276349&cid=CAHSN3LDN would be easier than modifying your JDKs?interesting. i thought modifying my JDKs to install the ca-cert WAS the only way. theres like a document that over 1k people at my job use to run these commands manually to install the cert into your jdk. lol. id love if there was another option. ill try to checkout your script.
Colton Idle
09/18/2025, 4:53 PMAlso, if you/your IT department installed the caceet into your system store, it is way easier to just use the system store. (Looking at you, zScaler…)we all use macs. are you saying that if i install the cacert into my mac keystore I won't have to put it in my jdk. hm. let me try that.
ephemient
09/18/2025, 4:55 PMColton Idle
09/18/2025, 4:56 PMColton Idle
09/18/2025, 4:57 PMPhilip W
09/18/2025, 4:57 PMColton Idle
09/18/2025, 5:00 PM<http://systemProp.javax.net|systemProp.javax.net>.ssl.trustStoreType=KeychainStore to my gradle.properties? Am I understanding that correctly?Colton Idle
09/18/2025, 5:00 PMPhilip W
09/18/2025, 5:00 PMColton Idle
09/18/2025, 5:01 PMephemient
09/18/2025, 5:01 PM~/.gradle/init.d/certs.init.gradle.kts. there's no way to put it in the local build and have Gradle automatically apply it https://github.com/gradle/gradle/issues/17826ephemient
09/18/2025, 5:01 PMColton Idle
09/18/2025, 5:02 PMColton Idle
09/18/2025, 5:04 PMColton Idle
09/18/2025, 5:06 PMColton Idle
09/18/2025, 5:08 PMVampire
09/18/2025, 5:10 PMVampire
09/18/2025, 5:10 PMVampire
09/18/2025, 5:12 PM<http://systemProp.javax.net|systemProp.javax.net>.ssl.trustStoreType you can also do in your GRADLE_USER_HOME instead of in the project.
Because if you do it in the project, then you actually switch that for everyone whether they have the cert in their OS store or not.
Unless of course all consumers of those builds have that in the OS store automatically and no other people need to execute those builds.Colton Idle
09/18/2025, 5:52 PMPhilip W
09/18/2025, 7:04 PMColton Idle
09/19/2025, 1:47 PMColton Idle
09/19/2025, 5:30 PM<http://systemProp.javax.net|systemProp.javax.net>.ssl.trustStoreType=KeychainStore and everything is working. no proxy.* flags needed.Colton Idle
09/19/2025, 5:46 PMColton Idle
09/19/2025, 5:48 PMVampire
09/19/2025, 6:56 PMJAVA_TOOL_OPTIONS=-Djavax.net.ssl.trustStoreType=KeychainStore gradle-profiler
?Colton Idle
09/19/2025, 7:20 PMVampire
09/20/2025, 2:10 AMColton Idle
09/20/2025, 5:43 PMJAVA_TOOL_OPTIONS=-Djavax.net.ssl.trustStoreType=KeychainStore gradle-profiler --benchmark --scenario-file scenarios.txt
and i get the ssl issue when running
but if I do
gradle-profiler --gradle-user-home ~/.gradle --benchmark --scenario-file scenarios.txt
then it works.Vampire
09/20/2025, 8:12 PMPicked up JAVA_TOOL_OPTIONS: -<http://Djavax.net|Djavax.net>.ssl.trustStoreType=KeychainStore message?
And especially not from the gradle-profiler JVM but from the Gradle daemon JVM where you need it.Colton Idle
09/20/2025, 10:35 PMColton Idle
09/20/2025, 10:36 PMexport JAVA_TOOL_OPTIONS... then it did work! so I guess something about JAVA_TOOL_OPTIONS=-<http://Djavax.net|Djavax.net>.ssl.trustStoreType=KeychainStore gradle-profiler --benchmark --scenario-file scenarios.txt that it doesn't like (at least on macos)Colton Idle
09/20/2025, 10:38 PMexport JAVA_TOOL_OPTIONS=-<http://Djavax.net|Djavax.net>.ssl.trustStoreType=KeychainStore and i dont need to touch gradle.propertiesColton Idle
09/21/2025, 1:56 AMVampire
09/21/2025, 8:54 AMColton Idle
09/22/2025, 12:42 AMColton Idle
09/22/2025, 2:46 AM