Sebastian Schuberth
02/18/2026, 11:05 AMconnection.model(OrtDependencyTreeModel::class.java).setJvmArgumen
ts("-Dorg.gradle.debug=true").get()
I haven't tried this in a while, but now that I do again, it does not seem to work anymore; the Gradle daemon does not stop the process to wait for the remote debugger to attach. Has anything changed in Gradle 9.x in this regard?Venkateswara Rao Uppala
02/21/2026, 12:05 PM[CXX1214] C:\Users\uppal\Downloads\cometchat-uikit-react-native-5\FloxlyApp\node_modules\expo-modules-core\android\CMakeLists.txt debug|arm64-v8a : User has minSdkVersion 22 but library was built for 24 [//ReactAndroid/hermestooling]can someone please tell me issue to get it fix I'm working with react-native-expo project for voipcall setup feature
Eli Graber
02/23/2026, 1:20 AMVlastimil Brecka
02/24/2026, 1:14 PMgradle.properties such that if the current jvm version doesn't recognise them, they'll be ignored?
org.gradle.jvmargs=-Xmx5g -XX:+UseCompactObjectHeaders
UseCompactObjectHeaders is only available on jvm25 and I don't want to force it on everyone in the team yetIvan CLOVIS Canet
02/26/2026, 9:48 PMgradleTestKit() but… I don't have it.
I assume there's a specific plugin that adds it?Eug
02/27/2026, 2:39 PMJonatan Rhodin
03/02/2026, 8:25 AMCaleb Cushing
03/02/2026, 4:33 PMCaleb Cushing
03/02/2026, 5:51 PMplatform?Philipp Nowak
03/04/2026, 8:00 AMNiels Doucet
03/04/2026, 11:23 AMproject.version during a task action?Eug
02/10/2026, 2:34 PMA problem occurred configuring project ':buildSrc'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.2.21
Required by:
buildscript of project ':buildSrc' > org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin:2.2.21 > org.jetbrains.kotlin:kotlin-serialization:2.3.0 > org.jetbrains.kotlin:kotlin-gradle-plugins-bom:2.3.0> Unable to find a variant with the requested capability: coordinates 'org.jetbrains.kotlin:kotlin-gradle-plugin-api-gradle813':
- Variant 'apiElementsWithFixedAttribute' provides 'org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.3.0'
- Variant 'gradle80ApiElements' provides 'org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.3.0'
- Variant 'gradle80JavadocElements' provides 'org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.3.0'
- Variant 'gradle80RuntimeElements' provides 'org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.3.0'Lex Manos
04/18/2026, 10:08 PMconfigurations { api { transtive = false } }
Publishing non-transitive configuration 'apiElements'. This behavior has been deprecated. This will fail with an error in Gradle 10. Setting 'transitive = false' at the configuration level is ignored by publishing. Consider using 'transitive = false' on each dependency if this needs to be published.
Is there a good way to configure every dependency as transitive without literally adding { transitive = false } to every dependency line?
I have a task that generates files used during dev/compile. Added to sourceSets.main.java.srcDir files('src/main/generated')
Which now throws a implicit dependency issue on a bunch of tasks.
Is there any simpler way then adding 20 tasks.named(sourceSets.main.getCompileTaskName('java')).configure { t -> t.mustRunAfter(generate) } lines? Note I don't want to make generate run every invocation of gradle. Hence mustRunAfter and not dependeOn. The generated files are checked into our vcs so they don't need to be generated every run. But also tested sourceSets.main.java.srcDir generate.flatMap { it.output } and didn't change anything.Adam
04/20/2026, 5:56 PMval foo by tasks.registering https://github.com/gradle/gradle/pull/37556
I rather like these utils. They help make buildscripts more concise.
I've created an issue to restore them https://github.com/gradle/gradle/issues/37604. Does anyone have thoughts on this?Appu Goundan
04/22/2026, 3:20 PMHasan Gilmanov
04/23/2026, 11:56 AMDownloading <https://services.gradle.org/distributions/gradle-8.13-bin.zip>
Exception in thread "main" java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-8.13-bin.zip failed: timeout (10000ms)
at org.gradle.wrapper.Install.forceFetch(SourceFile:4)
at org.gradle.wrapper.Install$1.call(SourceFile:8)
at org.gradle.wrapper.GradleWrapperMain.main(SourceFile:67)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:483)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:586)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2939)
at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2848)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1959)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1629)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
at org.gradle.wrapper.Install.forceFetch(SourceFile:2)
Also i can not download from here, it just hangs:
https://gradle.org/releases/
Also https://github.com/gradle/gradle-distributions/releases/download/v8.13.0/gradle-8.13-bin.zip doesn't work.eldoretfarmers. slack
04/24/2026, 10:42 AMEthan Jason
04/27/2026, 7:11 PMEthan Jason
04/27/2026, 7:11 PMConfigure project :Fabric Loom: 1.16.1 FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\ASUS\IdeaProjects\AutoGGX\build.gradle' line: 40 * What went wrong: A problem occurred evaluating root project 'AutoGGX'.
Could not find method modImplementation() for arguments [net.fabricmcfabric loader0.18.4] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.* 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 from a Build Scan (powered by Develocity).
Get more help at https://help.gradle.org.CONFIGURE FAILED in 37s
Ethan Jason
04/27/2026, 7:14 PMMarcin Erdmann
04/28/2026, 1:12 PM13:36:05 > Could not resolve software.amazon.awssdk:ssooidc:2.40.8.
13:36:05 > Could not get resource '<https://plugins.gradle.org/m2/software/amazon/awssdk/ssooidc/2.40.8/ssooidc-2.40.8.pom>'.
13:36:05 > Could not GET '<https://repo.maven.apache.org/maven2/software/amazon/awssdk/ssooidc/2.40.8/ssooidc-2.40.8.pom>'. Received status code 429 from server: Too Many Requests
Anybody else?
https://status.gradle.com/ is all green...thadhouse
04/29/2026, 4:24 AMAldin
04/29/2026, 9:02 AM<https://repo1.maven.org/maven2> (https://central.sonatype.org/consume/) should be used instead.Daren Burke
04/29/2026, 11:06 AMEug
04/29/2026, 3:48 PMExecution failed for task ':feature:a:compileDebugUnitTestKotlin' (registered by plugin 'com.android.internal.library').
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.btapi.BuildToolsApiCompilationWork
> Compilation error. See log for more details
So later in CI step I can print it?Colton Idle
05/06/2026, 2:45 AMval blah = 0 to the build file (app build file specifically since this is an android project) and if I hit sync, it'll take 30 seconds.
I figured it out. Ordering of repositories was wrong so it was going to one really slow maven repo mirror first which never had anything. Cool problem solved... but now I'm starting to go a little stir crazy. what does adding val blah = 0 require a dependency refresh. i could literally sync, wait 30 seconds, add val blah2 = 0 sync and its gotta wait 30 seconds again.
I thought the point of gradle is that it caches these things so it wouldn't need to check in for each dep again. I feel like I'm misunderstanding something and claude/codex are giving me conflicting answers.Colton Idle
05/06/2026, 11:40 PMThomas Keller
05/08/2026, 10:56 AMorg.gradle.util.internal.VersionNumber eventually? I figured that has a problem (at least in 9.4.0 which I'm checking against) when comparing numbers with three digits against such with four (e.g. "1.2.3.4" is determined to be "older" than "1.2.3"). I need this for some custom build magic.Thomas Keller
05/08/2026, 11:44 PM.gradle/caches/9.4.1/kotlin-dsl has 2.4G worth of files for only two different (big) monorepo checkouts:
$ du -hs *
2.4G accessors
199M scripts
The projects use a central build-logic convention module with plain Gradle plugins (no Kotlin DSL there). The only Kotlin DSL in use is in the various build gradle files.Dhruv Vyas
05/10/2026, 12:12 AMstartup failed:build file 'C:\Users\vyasd\cameramod_forge\build.gradle': 42: only buildscript {}, pluginManagement {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed For more information on the plugins {} block, please refer to https://docs.gradle.org/8.5/userguide/plugins.html#sec:plugins_block in the Gradle documentation. @ line 42, column 1. plugins { ^ 1 error * 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 3s