Many of the Gradle API domain objects are NOT serialisable, but WHY?
Many of the Gradle API domain objects, e.g. SourceSet – the one that is ought to be used to model Gradle source sets – are NOT flagged as serializable. Many of the Gradle internal procedures, on the...
View ArticleGradle 6.6.1 released
Gradle 6.6.1 released; see the release notes for more information.
View ArticleCould not install Gradle distribution from...
Double-check the certificate that you downloaded. There should be a chain, but you don’t want the certificate issued for the domain itself. There would normally be a self-signed root certificate that...
View ArticleCannot set PMD parameters with kotlin
Ok, found it myself… The PMD Plugin uses the Provider API (https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html). That means, that values are set calling e.g....
View ArticleHow to download dependencies and keep remote directory structure?
Reading documentation on this simply only tells me how to get dependencies to a folder, can anyone point me to documentation that may help me at least?
View ArticleCollecting project's dependency constraints
Hello, is there a way to collect all the dependency constraints including those that come from a (enforced) platform for a given project? What I am looking for is an equivalent of collecting Maven’s...
View ArticleGradle composite build excluding plugins
Hello, is it possible to have composite builds especially excluding plugin dependencies? As example: A gradle plugin which uses $dependency version 1.0, and a project using said gradle plugin and...
View ArticleThrowing StopExecutionException from beforeTest/afterTest closure doesn't...
Hi, I have a task to fail build after x number of tests failed I’m trying to implement this with the following approach: test.afterTest { TestDescriptor td, TestResult tr -> if(tr.resultType ==...
View ArticleGradle Enterprise Maven Extension 1.6.3 has been released
The Gradle Enterprise Maven Extension v1.6.3 has been released. See release notes for the changelog. Compatible with scans.gradle.com and Gradle Enterprise 2020.3 or later.
View ArticleNeed help in expediting the approval process
Hi ! I just published a plugin yesterday and I am new to the whole process . This plugin was generated from the fork of another repo as reflected in the VCS url of the plugin . The main plugin from...
View ArticleUnresolved References in settings.gradle.kts moving from 5.6 to 6.2
for those still looking, the val kotlinVersion: String by settings declaration needs to be moved into the plugin management block. See here for details
View ArticleAffect execution of dependency task
Is it possible to affect the execution of a dependency task to minimize code duplication? Something like this: task a { doLast { println 'good' + project.text } } task b(dependsOn: a) { doFIrst {...
View ArticleGradle 6.1.1 product Flavor with declare-stylable
I have a declaration-stylable in my res/values/attrs.xml file <?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="SpannedGridLayoutManager"> <attr...
View ArticleWhat can i do for this?
FAILURE: Build failed with an exception. What went wrong: Could not create an instance of type sync_studio_tooling2_c19et8j8ei1of2d4q336ijsqn. Could not initialize class...
View ArticleReceived fatal alert: protocol_version
I get this error every time I build the project from a GitHub workflow. If I build it locally at my site, this won’t happen. The whole thing runs on a nexus installed on my server. The server accepts...
View ArticleHaving trouble while executing the gradle command with sonarqube in jenkins
What went wrong: Gradle could not start your build. Could not create service of type FileHasher using BuildSessionServices.createFileHasher(). java.io.FileNotFoundException:...
View ArticleGradle distribution distZip task zipped exe file is not working after extraction
Gradle version 6.3.3 Gradle distribution plugin. The source folder has a working prunsrv.exe file. After executing the Gradle distZip task it has created myproject.zip file. Extracted the zip file....
View ArticleRemoving an accidentaly published plugin
Hi, I need the following plugins to be deleted and all versions: com.cryptenet.android.settings-patcher com.cryptenet.android.gradle-patcher Can anyone help?? Thanks
View Article