Mohamed Abderraouf ZOUAID
08/09/2025, 5:49 PMPicked up JAVA_TOOL_OPTIONS: -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Cannot query the value of this provider because it has no value available.
* 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 1m 25s
Running Gradle task 'assembleDebug'... 88.4s
Error: Gradle task assembleDebug failed with exit code 1
anyone can help me please?edward ambroce
08/09/2025, 6:42 PMMartin
08/09/2025, 9:28 PMConsider enabling configuration cache to speed up this build
Lucas Holden
08/10/2025, 7:16 PMJP Sugarbroad
08/11/2025, 5:59 PMLucas Holden
08/11/2025, 7:59 PMLucas Holden
08/12/2025, 12:27 AMgradlePlugins.create
, but they both publish under the same group: the name of the project.René
08/12/2025, 6:43 PMLucas Holden
08/12/2025, 8:43 PMattributeProvider
still tries to retrieve the extension property immediately and causes the plugin to fail to apply. (Line 23 of https://paste.ofcode.org/k36CjhiWRKJQkdv2FeyMZz)
Running it in project.afterEvaluate
does allow the plugin to be applied, but the artifact transform is unusable due to being applied so late.
Does anyone know how to make this work?James Smith
08/12/2025, 9:50 PMJames Smith
08/12/2025, 9:51 PMFAILURE: Build failed with an exception.
* What went wrong:
org.gradle.api.InvalidUserDataException: On plugin declaration 'kotlin' expected to find any of 'id' or 'version' but found unexpected keys 'android' and 'compose'.
> On plugin declaration 'kotlin' expected to find any of 'id' or 'version' but found unexpected keys 'android' and 'compose'.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 4
From what I have in my libs.version.toml
[plugins]
android.application = { id = "com.android.application", version.ref = "agp" }
kotlin.android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin.compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
Can someone explain my issue a little, please?Lucas Holden
08/12/2025, 11:16 PMJames Smith
08/12/2025, 11:37 PMLucas Holden
08/13/2025, 7:42 PMMapProperty<String, List<Object>>
in my plugin extension. I need another plugin to merge items into the map instead of overwriting it like put
does.
I thought this would work:
extMap.putAll(extMap.map { m ->
m.keys.forEach { k ->
m.merge(k, myValues(), { l1, l2 -> l1 + l2 })
}
return@map m
})
but instead it causes a stack overflow error due to the value depending on itself.
I also can't add elements in Project.afterEvaluate
because MapProperty#get
returns an ImmutableMap.
How do I add items to the lists in the map?tony
08/15/2025, 5:53 PMBehnam Banaei
08/16/2025, 7:27 AMCaleb Cushing
08/16/2025, 12:58 PMJavi
08/16/2025, 2:51 PM* What went wrong:
A problem occurred configuring project ':semver-gradle-plugin'.
> Failed to notify project evaluation listener.
> Cannot mutate the hierarchy of configuration ':semver-gradle-plugin:apiElements' after the configuration was published as a variant. After a configuration has been observed, it should not be modified.
> Gradle Module Metadata can't be modified after an eagerly populated publication.
Javi
08/17/2025, 10:29 AMdependencyProject
is deprecated but on the deprecation it is not shown any alternative 🤔محمد اسامه البدوي
08/17/2025, 11:52 AMWhat is the solution to this error?
``````Mez
08/17/2025, 10:04 PMMartmists
08/18/2025, 12:18 PMtasks.named(...).isPresent
, but it seems tasks.named is throwing an UnknownTaskException instead?Martmists
08/18/2025, 12:18 PMproject.providers.exec { ... }.result.get()
?uday nani
08/18/2025, 2:44 PMGijs Leussink
08/19/2025, 7:58 AMClass org.gradle.jvm.toolchain.JvmVendorSpec does not have member field 'org.gradle.jvm.toolchain.JvmVendorSpec IBM_SEMERU'
What am I running into?
In build.gradle
I have declared:
java {
toolchain {
languageVersion = JavaLanguageVersion.of(24)
vendor = JvmVendorSpec.GRAAL_VM
}
}
Martmists
08/19/2025, 7:49 PMRené
08/19/2025, 8:09 PMRajeesha R
08/20/2025, 6:20 AMPhilipp Nowak
08/21/2025, 9:29 AM./gradlew :app:dependencies
I receive the following exception:
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
I am using org.gradle.jvmargs=-Xmx10240m
and also increasing it to 12 GB didn't help. All the other tasks just run fine, e.g. building, testing etc. - the activated configuration cache is on develop for a few days now already.
Does anyone have an idea what could cause the OOM on the dependencies task and how to fix it? Deactivating the configuration cache fixes it but should not be an option here 😄Ben Bader
08/21/2025, 6:43 PM> Could not resolve com.google.cloud.tools:jib-gradle-plugin:3.4.5.
Required by:
settings file 'settings.gradle' > com.google.cloud.tools.jib:com.google.cloud.tools.jib.gradle.plugin:3.4.5
> Could not resolve com.google.cloud.tools:jib-gradle-plugin:3.4.5.
> Could not get resource '<https://plugins.gradle.org/m2/com/google/cloud/tools/jib-gradle-plugin/3.4.5/jib-gradle-plugin-3.4.5.pom>'.
> Could not GET '<https://plugins-artifacts.gradle.org/com.google.cloud.tools/jib-gradle-plugin/3.4.5/760ae3b530620eea5483f15fe876fd30ac44e5dcb7eafca4d63e613ea0d80750/jib-gradle-plugin-3.4.5.pom>'.
> Remote host terminated the handshake