Ismail Mohamed
11/23/2024, 9:20 AMJavi
11/23/2024, 12:01 PMโข theandgradle.declarative.studio.supportflagsgradle.declarative.ide.support
Javi
11/24/2024, 12:23 AMKotlinSourceSet, but as I cannot inject Project or ExtensionContainer in my class, the only way to configure it is by duplicating a lot of things from the KotlinSourceSet
I want to be able to do something like you can see in the image. Is there any way to get any plugin Extension inside a @Configuring method?Paul Merlin
11/26/2024, 5:09 PMsettings.gradle.dcl files. You can find it in the Google Drive linked here https://declarative.gradle.org/docs/getting-started/setup/#idePaul Merlin
11/27/2024, 4:39 PMJavi
11/30/2024, 4:51 PM.dcl files.
The use case is configuring the X plugin from the Y plugin without having to create a middleware project extension or something similar which complicates the setup a lot.Philip W
12/01/2024, 8:09 PMorg.gradle.kotlin.dsl.dcl=true using 8.12-20241129001902+0000, I always get some parser (or even lexer) errors in my kts files, also when using a very simple gradle init sample project. Should I create an issue or is the DCL implementation too experimental?Javi
12/06/2024, 11:21 PMorg.gradle.kotlin.dsl.dcl=true but then tests are failing with:
ScriptCompilationException(scriptCompilationErrors=[...])
Is there any workaround?zoe wu
12/12/2024, 6:57 AMSlackbot
12/30/2024, 1:50 AMPhilip W
01/06/2025, 10:34 AMmyExt.feature1 {} or myExt.feature2 {}. With KTS, there are generated accessors but AFAIK the DCL uses the static software type and not the dynamic extensions registered during runtime. Or should I create a new top level extension for each "sub" plugin?ไฝณ้น็
01/07/2025, 1:15 PMA problem occurred evaluating settings 'TikTok'.
> No signature of method: org.gradle.api.internal.artifacts.ivyservice.dependencysubstitution.DefaultDependencySubstitutions$1.with() is applicable for argument types: (org.gradle.internal.component.external.model.DefaultModuleComponentSelector) values: [com.google.guava:guava:30.1-jre]
Possible solutions: with(groovy.lang.Closure), with(boolean, groovy.lang.Closure), wait(), wait(long), find(), wait(long, int)
Does anyone know how to solve this?ไฝณ้น็
01/07/2025, 1:16 PMSlackbot
01/10/2025, 9:48 AMPaul Merlin
01/24/2025, 11:33 AM.gradle.dcl files is now included in regular Android Studio nightlies.
It is not needed to download a special nightly from an obscure Google Drive.
https://developer.android.com/studio/nightly
Note that you still have to enable the Declarative features as explained here
https://declarative.gradle.org/docs/getting-started/setup/#enable-declarative-features-in-studioPaul Merlin
01/27/2025, 1:46 PMysb33r
01/27/2025, 2:36 PMsettings.gradle.dcl and build.gradle.dcl ? For instance, is it still possible to have settings.gradle(.kts) , but then have build.gradle.dcl ?Andrey Mishchenko
02/17/2025, 1:51 AMPhilip W
03/13/2025, 11:10 AMorg.gradle.kotlin.dsl.dcl=true it is possible to use the custom parser for software types in kts build files. Will it also be possible to enable the custom parser for software types in precompiled kts plugins in buildSrc? Use case: I donโt want to pollute my settings.dcl with many default values but write precompiled settings plugins and not using KotlinCompile would make this use-case faster.Slackbot
03/29/2025, 10:07 PMOleg Nenashev
04/24/2025, 3:05 PMJavi
05/05/2025, 1:15 PMafterEvaluate as the workaround which is bad.Ky
05/15/2025, 7:40 AMPhilip W
08/01/2025, 7:08 AMMartin
08/12/2025, 8:56 AMPhilip W
08/20/2025, 4:26 PMWin Naing
09/15/2025, 9:13 AMPratikshit singh
10/28/2025, 3:56 AMVampire
11/17/2025, 1:58 PMSettings.defaults something about DCL?
I wonder reading about it in the Upgrading from 8.13 and earlier section, and that there are changes from 8.10, while it was nowhere mentioned before, also not in the 8.10 release notes, and from looking at it, it seems related to DCL.
If so, maybe it should maybe be explicitly marked as DCL-related in the upgrade notes?Philip W
11/28/2025, 7:58 PM