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

RCP to execute build.gradle from a java class, in eclipse

I want to generate a project with build.gradle , and i want to call the build.gradle from a java classe so i need an RCP to do this , any suggestion for the RCP ???

View Article


Gradle Plugin Logging without the Gradle API

Can you share how you are setting up your integration test task? Are you using testkit for these tests?

View Article


Why gradle does not use cache in docker

Ok, I think I understand what you are referring to now. You are indeed running multiple builds in the same container, and the later builds still download dependencies? Could you perhaps run those...

View Article

Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

lingocoder: „…I am committed to eventually figuring this out, @Graou74…“ Whenever you have a spare five minutes, please can you… Edit your settings.gradle to this ... plugins { id...

View Article

Gradle Plugin Logging without the Gradle API

Great thanks for looking into this. To answer your questions: yes the testKit is a testCompile Dependency And here the build script:...

View Article


RCP to execute build.gradle from a java class, in eclipse

I’m not sure what RCP stands for (recipe maybe?) but you probably want the tooling API

View Article

Could not find implementation class for plugin error when using plugin...

The tutorial has the source code in the /top-level/buildSrc/src... tree. Once I moved it to the /top-level/src/... tree, it worked.

View Article

Why gradle does not use cache in docker

Sorry but I can not paste the build scan because of company restriction. But I tried to stop the build after the gradle build complete. FROM gradle:5.6.4-jdk8 as gradle WORKDIR /app COPY...

View Article


Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Graou74: „… Caused by: java.lang.ClassNotFoundException: mr.jar.graou74.LibraryTest at java.base / jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java:583) at java.base /...

View Article


Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

lingocoder: Finally, I have reproduced the issue in Linux, @Graou74. So there is no longer any need for you to do any of those those reimport steps. I’m on the case. 49/5000 Ok, it’s an OS problem....

View Article

RCP to execute build.gradle from a java class, in eclipse

RCP i mean , Rich Client Platform

View Article

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

For your information, I wanted to upgrade com.gradle.build-scan to com.gradle.enterprise today, using Gradle 6.0.1. This is what I got: > Could not download httpclient-4.2.1.jar...

View Article

Documentation of subdirectory gradle?

Is there a separate section on the subdirectory gradle in the official docs? Obviously, it can be used for other stuff than the gradle wrapper configuration (see file gradle/integration-test.gradle in...

View Article


How to use AWS secret manager(secret name) in gradle/Jenkins AWS plugin for...

I don’t think the liquibase plugin support AwsCredentials as which can be done when defining repositories, so you have some options. Environmental variables: username = System.getenv('AWS_KEY') ?: ''...

View Article

Checkstyle plugin: is "cacheFile" property supported?

Gradle 6.0.1, Checkstyle 8.27. Adding <property name="cacheFile" value="${cache_file}"/> and (in Kotlin DSL) configProperties = mapOf( "base_dir" to rootDir.toString(), "cache_file" to...

View Article


Gradle composite build task order seems wrong (Gradle 5.6.2)

I am facing a similar issue, did you manage to solve it?

View Article

How to use the same locked dependencies among all sub-projects

@aaronabf I’ve fixed some dependency versions for all configurations by iterating over all dependencies of all configurations like this: github.com...

View Article


How to use AWS secret manager(secret name) in gradle/Jenkins AWS plugin for...

Thank you. I will try it out.

View Article

Gradle composite build task order seems wrong (Gradle 5.6.2)

Yes, it was a matter of corretly defnining dependencies of my task. I added a dependency to a Gradle configuration and it worked magically! Defining task inputs was not enough. -> dependsOn...

View Article

Publishing files to a non-Maven/Ivy destination

Axl, While this doesn’t fit exactly what you are asking for, it could be helpful if you are in a jam. https://gitlab.com/jkushmaul/gradle-url2maven-plugin My use case was to simply download a HTTP URL...

View Article
Browsing all 19859 articles
Browse latest View live