Accessing gradle.properties values in settings.gradle.kts
Thanks @drichter . I actually ended up using this syntax docs.gradle.org Using Gradle Plugins val mavenrepo: String by settings
View ArticleAndroid studio flutter
Launching lib\main.dart on Android SDK built for x86 in debug mode… Running Gradle task ‘assembleDebug’… [Fatal Error] kotlin-compiler-embeddable-1.3.50.pom:2:1: Content is not allowed in prolog....
View ArticleDependency on javadocElements not causing javadoc to build
Hello all! We have a multi-project build where the super-project gathers sub-project elements with the following technique: configurations { doc lib zip } dependencies { doc project(path:...
View ArticleI have error while importing project in flutter
I have error while importing project in flutter , But when I create new project fom scratch Everything works ,My gradle version is recognized in my Command prompt and it is 6.6.1 ; I am connected to...
View ArticleIdeas for how to implement a dependencies{}-like DSL
Thanks again @Lance ! Of course… I keep forgetting about the Groovy missing-method magic. Quick question… do solutions such as this work “properly” with Kotlin scripts in terms of auto-completion, etc?
View ArticleWhat is up with this forum and its silly title problem?
So I assume that PolymorphicDomainObjectContainer simply do not work for end-users. Sadly it is an incubating feature, so I guess I cannot complain too much. But man it really stinks that an exposed...
View ArticleTestKit and up-to-date checking
Writing some tests for a plugin using TestKit. For some reason, TestKit thinks my tasks are up-to-date when those tasks’ output file does not exist. It works perfectly fine in a “real” project using...
View ArticleIssues with Gradle on Windows 10
I also faced the same issue with my windows 10 OS. I thought it would be solve after updating drivers but could not be solve the problem. Now I have been searching laptop repair service center for...
View ArticleTestKit and up-to-date checking
Hi Steve, TestKit does not do anything different than a real build when it comes to outputs. Do you maybe have a reproducer so I can check what is going on? Cheers, Stefan
View ArticleHow do I get buildship/Eclipse to copy gradle files to the output directory?
I have a Java project (No gradle project configuration) with 4 gradle files in a source subdirectory of the test folder, which are used by a .java test file in the same source subdirectory. Tests in...
View ArticleTestKit and up-to-date checking
Thanks for the reply Stefan. The TestKit-based test is -...
View ArticleGradle Enterprise Maven Extension 1.6.7 has been released
The Gradle Enterprise Maven Extension v1.6.7 has been released. See release notes for the changelog. Compatible with scans.gradle.com and Gradle Enterprise 2020.3 or later.
View ArticleGradle 1.12 mentions needed jar but does not download it nor put it onto the...
Hate to post a question for such an ancient version of Gradle, but upgrading is on the pile of tech debt over there ==> We use a plugin to provide build functionality adapted from our Ant/Ivy...
View ArticleHow to import just compiled classes in build.gradle?
This is exact what I was looking for. Thanks! However I was getting an error “unable to resolve class java.net.URLClassloader” (the letter “L” is in lower case). Correct is URLClassLoader At the end...
View ArticleCustom/invalid ivy.xml parsing
I just encountered the same problem today with Gradle 1.12! All of our locally-generated ivy.xml files contain the “build” attribute, but Gradle only chokes on a handful of them, the rest seem fine....
View ArticleCustom/invalid ivy.xml parsing
tmeazell: The point is, unless you got a private response (which I have not yet gotten), it seems that the folks at Gradle are not monitoring this Forum, or at least not as well as I would expect. If...
View ArticleHow to add a dependency at build time?
Hello, I have a muliti-project build.gradle.kts that builds a Spring Boot webflux web service. At build-time, I need to dynamically insert a dependency based on an environment variable’s value, and...
View ArticleGradle sync failed: Cause: error in opening zip file on mac
i am a new working with android studio and when i create a project on my mac it types that Gradle sync failed: Cause: error in opening zip file i have tried downloading gradle through commandline...
View Article