Paul Merlin
11/05/2024, 5:02 PMSuper Dev
11/11/2024, 4:04 PMOleg Nenashev
11/20/2024, 10:07 AMJason Pearson
11/21/2024, 11:53 AMJason Pearson
11/21/2024, 3:12 PM-XX:ReservedCodeCacheSize=256m
to Gradle JVM args causes a build failure:
A problem occurred configuring project ':android-util'.
> Collection contains no element matching the predicate.
Jason Pearson
11/22/2024, 9:28 AMSebastian Schuberth
11/22/2024, 10:02 AMJason Pearson
11/22/2024, 10:47 AMIsmail Mohamed
11/23/2024, 9:20 AMJavi
11/23/2024, 12:01 PM• theandgradle.declarative.studio.support
flagsgradle.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.