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

Publish Dependencies to MavenLocal

Take a look at the tasks added by maven-publish plugin. One of the tasks is publishToMavenLocal

View Article


Gradle 6.0 fails to find dependencies in p2asmaven repository

The WALA analysis framework uses the com.diffplug.gradle.p2.asmaven plugin to incorporate several Eclipse libraries into its build, as configured here. This worked fine under Gradle 5.6.2, but under...

View Article


How to attach a JavacPlugin for the tests?

I’m trying to write a JavacPlugin. I want to be able to test it through my gradle system, however I’m uncertain as to how I can tell gradle to add my own code as a dependency, in order for it to...

View Article

Why gradle does not use cache in docker

My Dockerfile: FROM gradle:jdk8 as gradle WORKDIR /app COPY settings.gradle build.gradle ./ COPY module-core/build.gradle ./module-core/ COPY gradle ./gradle RUN gradle build --no-daemon --info...

View Article

Tutorial obsolete?

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

View Article


Composite Build and additional artifacts

The documentation was restructured and extended for 6.0. But the features described in that section are not new and should work with older versions of Gradle. Which part of the documentation section...

View Article

Preferred way to build a release

I like the Maven on Steroids pattern which is close to what you’re describing here. Set the checked in version to 0-SNAPSHOT Update the version dynamically on release. See:...

View Article

Image may be NSFW.
Clik here to view.

Build fails after upgrade; cannot determine build dependencies of [L...

lhug: project(path:’:epbProject’, configuration:‘runtime’).findProjectConfiguration().allDependencies.all{ earlib it } That clearly looks wrong. findProjectConfiguration() is internal API. This might...

View Article


Buildship 3.1.3 is now available

We are happy to announce that Buildship 3.1.3 has just been released. This release contains bugfixes and upgrades the Gradle integration plugin (org.gradle.toolingapi). The full list of changes is...

View Article


Can't create simple jar

hmm… why don’t you try task warToDeloy(type : War)

View Article

Can't create simple jar

Because I’m also using the Kotlin multiplatform plugin, and it does not work with the war plugin and task. I’ve posted elsewhere about that and got no answers. I could post again about that issue, but...

View Article

bundled.directory.provider

android.process.acore E/ActivityThread: Failed to find provider info for com.google.android.gm.exchange.bundled.directory.provider

View Article

EAR - Add xml file to META-INF dir

Hi, I am using Gradle 4.10.2 and I am building an ear file, where I must put a jboss-deployment-structure.xml file into the META-INF folder of ear. On Internet, I see different plugins to generate...

View Article


Gradle build .class files

Hi Sheng-Long, Did you ever find out why the reports and classes subdirectories weren’t created? I’m new to gradle and having the same problem using the tutorial at spring.io. Thanks, Jackie

View Article

Include ":directory/project" vs include "directory:project"

gradle task is a task selector which will select all tasks of that name. gradle :task is a task in a single project. I actually find this piece of information hard to find. Do you have a link to the...

View Article


Build fails after upgrade; cannot determine build dependencies of [L...

Hello, According to my project lead, that particular bit of code is to ensure that all runtime dependencies of the, sorry typo, ejb-project are declared as earlibs. Sadly, changing just that did not...

View Article

Image may be NSFW.
Clik here to view.

Preferred way to build a release

I am beginning to lean towards Automaric Versioning. I have been contributing on a SemVer release tool that was mainly developed for Jenkins X, but can be used as a standalone tool. It uses the base...

View Article


Gradle 6.0.1 released

Gradle 6.0.1 has a patch release out that fixes some critical dependency management regressions and an Android incremental compilation compatibility. See the full release notes.

View Article

Extensions in composite build settings

I have a composite build where I define a few ext properties in settings to use later on in my tasks. Ex: settings.gradle: includeBuild('project1') { ext.doSomething = true } includeBuild('project2')...

View Article

How to include dependencies in jar?

What if I only want certain jars from the dependencies {} block to be included in the jar I’m building?

View Article
Browsing all 19850 articles
Browse latest View live