How to exclude group from ear lib group
I ended up doing this: ear { generateDeploymentDescriptor = false from ('core/xml/application') { into 'META-INF' } rootSpec.exclude('**/xsdlib-2013.6.1.jar') }
View ArticleCould not install Gradle distribution from...
Corporate proxies are essentially an allowed MitM attack. The request is encrypted, but the company wants to decrypt it and make sure that there’s nothing bad in it before allowing you to have it. The...
View ArticleCould not create an instance of type...
Hi guys. I’m trying to make a build of my game made in GameMaker Studio 2 for Android, but I can’t while I keep getting this error: FAILURE: Build failed with an exception. ** What went wrong:* Could...
View ArticleCould not create an instance of type...
OK so I resolved it. I searched for all occurences of “gradle-wrapper.properties” file on my disk and I changed distributionUrl property everywhere to version gradle-6.6-all.zip (I found 4 such files...
View ArticleHow to prevent descending into sub-projects?
We have an Android project that contains our own code, plus code that is pulled in from another repository not under our control (vendor-dependencies.) One of tasks requires security scan, and I need...
View Article'E170001: Authentication required' using gradle-svntools-plugin
i run the following command: >> ./gradlew checkoutSvntools Here is fragment from build.gradle: apply plugin: “at.bxm.svntools” task checkoutSvntools(type: SvnCheckout) { svnUrl =...
View ArticleHow to prevent descending into sub-projects?
Some log detail: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:cyclonedxBom'. > Could not resolve all dependencies for configuration...
View ArticleError Failed to capture snapshot of input files for task ':compileJava'...
Hello, I have a problem: org.gradle.api.UncheckedIOException: Failed to capture snapshot of input files for task ':compileJava' property 'classpath' during up-to-date check. at...
View Article'E170001: Authentication required' using gradle-svntools-plugin
yafeldman: How I can tell gradle to take existing environemnt ssl credentials? Gradle isn’t really involved here as this functionality is provided entirely by a third-party plugin. This plugin only...
View ArticleCould not install Gradle distribution from...
Hi James, Thanks for your reply. I do not know how easy could be to get from my organization the certificate used to re-encrypt the proxy traffic. Is there a way to bypass this certificate process...
View ArticleCould not set unknown property 'dependencyCacheDir' for task...
Hello, I am trying to run project that I am going to take part in and I am now stucked with this alert: Could not set unknown property ‘dependencyCacheDir’ for task ‘:webapp:generateMetamodel’ of type...
View ArticleCould not install Gradle distribution from...
pni0ekn: I do not know how easy could be to get from my organization the certificate used to re-encrypt the proxy traffic. If your organization is doing this, you can get that certificate from...
View ArticleIssues successfully adding folder to java main sourcesets as task action
Hi there, Quite new to Gradle, still figuring some things out. I’m developing a custom plugin for our company, consisting of two tasks that are exposed to the user. Basically, the first task generates...
View ArticleOption to reload project modules during a set of commands
Hi ! I have a task that generates a set of modules that are automatically included in the project. Currently, I have to restart gradle so it adds those modules to the project: gradlew generate...
View ArticleGradle with Javascript Support
We use cmake for our C/C++ projects, and have used the same built tool for our Javascript projects. The process is that the cmake build tool just calls on yarn for build, test and packaging an NPM...
View ArticleSourceSet with name 'main' not found
Hello, This is happening in other simpler repos. When I was using: apply plugin: 'com.jfrog.bintray' apply plugin: 'com.github.dcendents.android-maven' android groovy (could it be related with .kts? I...
View ArticleDynamically add buildscript dependencies to some subprojects
@Alex_Vol, is there any way how the per-project dependencies this could be done? I have a lot of sub projects (~500) and I would like to do slow rollout of a new version of Kotlin plugin. we are on...
View ArticleCould not install Gradle distribution from...
Hi James, I downloaded the certificate from the browser, following this procedure: In the browser I opened the URL https://services.gradle.org/ and from there I downloaded the certificate as...
View Article