Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 19845 articles
Browse latest View live
↧

BOMs broken (java-platforms) for non transitive (e.g. ear deploy)...

I too have run into the issue that the gradle BOM platform() doesn’t seem to work for configurations that are not transitive. Is this intentional?

View Article


Gradle Jar It hasn't found the main class

Thanks Jendrik for you help.

View Article


Image may be NSFW.
Clik here to view.

Distrusted HTTPS Certificate after relocation from plugins.gradle.org to...

JLLeitschuh: To respond to your question, that redirect to cloudfront is due to a redirect response from JCenter, not from us. Didn’t traced it down to that detail. Thanks for pointing that out.

View Article

Gradle script problem

I tried to install Gradle Script on my laptop. But after that, Windows working very abnormally. One of my friends suggested me to reset windows to solve the problem. So I thought to use command prompt...

View Article

Syncing a new plugin from bintray

@agentdero Thanks for adding the inclusion to Gradle bintray package. There is one more step that is missing for the bintray sync to take effect and that is adding an inclusion of the repository to...

View Article


Can we create a container (a library) in Eclipse and add jars by Gradle task?

It seems that the problem is that that the snakeyaml is only available on the classpath but not on the module path. Gradle (nor Buildship) has out-of-the-box support for that, but there are...

View Article

Gradle Enterprise 2019.5 has been released

Gradle Enterprise 2019.5 is now available. Please see the release notes for more information.

View Article

Launcher classpath problem

In recent versions we re-implemented the test classpath separation in Buildship. Can you please give it another go? If it doesn’t work, please provide a minimal example project that show the problem...

View Article


Eclipse run configuration doesn't see all classpath dependencies

You have to add the custom configuration to the Eclipse classpath: eclipse { classpath { plusConfigurations += [configurations.a] } }

View Article


Does eclipseProject task automatically add checkstyleNature to project?

There’s no built-in support for checkstyle, you have to configure the custom natures/build commands in your build script like you suggested: eclipse { project { natures...

View Article

Java 11 - Test Detection Logic - initializationError

I’ve looked more closely at our failing tests (there are many), and I discovered something else interesting. In some cases, for organizational purposes, we may have test classes defined within an...

View Article

Refresh Gradle Project breaks JUnit 5 test in Eclipse

Does the same thing work on the command line? In any case, you can remove the jar from the classpath container with the following snippet. eclipse.classpath.file.whenMerged { entries.removeAll {...

View Article

Image may be NSFW.
Clik here to view.

Build Script ClassPath changes while using Plugins DSL

Hi, I am trying to test a gradle plugin that we developed with a test android project. The plugin specifies org.apache.httpcomponents:httpclient:4.5.1 as a dependency. The plugin works fine while...

View Article


Gradle 6.1-rc-1 is now available for testing

Gradle 6.1 RC1 is available for testing; see the release notes for more information and upgrade instructions.

View Article

Gradle 6.1-rc-1 is now available for testing

View Article


Ant to Gradle migration

Hi, Our project was built on ant. Now we are planning to migrate to gradle. OS : WIndows server 2012. gradle version : 5.6.1. The issue is, when i run gradle build , it is successful without the jars...

View Article

Ant to Gradle migration

@Anony123 Have you seen https://docs.gradle.org/current/userguide/migrating_from_ant.html ?

View Article


Execute multiple modules Gradle

I think you should start with basic Gradle documentation about Java applications and then move to multi project builds.

View Article

C++ how to build 32 and 64 bit targets in one fell swoop

I am working with gradle and c++. I have a simple library I am trying to build and need to build both 32 bit and 64 bit versions. I am able to make my build.gradle script build either a 32 bit lib or...

View Article

How to build debug and release versions with one build.gradle file - C++

Is there an easy way to build both debug and release c++ libraries with gradle? I am on Linux, in case that is important. Thanks for any insight/help you can provide!

View Article
Browsing all 19845 articles
Browse latest View live