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

How to depend on other module from buildSrc

https://docs.gradle.org/current/userguide/organizing_gradle_projects.html#sec:build_sources " The directory buildSrc is treated as an included build. Upon discovery of the directory, Gradle...

View Article


Image may be NSFW.
Clik here to view.

Plugin development abstract class and property

Stefan_Wolf: project.objects.fileProperty() If the task has such an unmanaged property would that mean it is not a “managed type”? And if so, what are the implications? Managed types A managed type is...

View Article


"No valid plugin descriptors were found in META-INF/gradle-plugins"?

I’m trying to write a Gradle plugin. I get the following when I do ./gradlew build. What does this mean? I googled to no avail. $ ./gradlew build **> Task :jar** :jar: No valid plugin descriptors...

View Article

Image may be NSFW.
Clik here to view.

Plugin development abstract class and property

phreed: Stefan_Wolf: project.objects.fileProperty() If the task has such an unmanaged property would that mean it is not a “managed type”? And if so, what are the implications? Yes, that means that...

View Article

Image may be NSFW.
Clik here to view.

Gradle can not find existing artifact?

Gradle v4.10.2 This really bothers me, since I know it should work, and I feel like I’m setting up my build.gradle file correctly. I built a plugin and deployed it to our AWS S3 Maven repo....

View Article


Image may be NSFW.
Clik here to view.

How to depend on other module from buildSrc

phreed: atically compiles and tests this code and puts it in the classpath of your build script. For multi-project builds there can be only one buil yes but you should be able to declare dependencies...

View Article

Gradle Jar It hasn't found the main class

Hi guys. I’m getting a little trouble when I want to run my application, once I have created my Jar, The error that I’m getting is like I have written above in the topic. Here, I show you my root...

View Article

Using properties from subproject in "subprojects" : Could not find property...

I think you can initialize the property in your main proj-config and then use it in sub-project… configuration(subprojects){ myProp = property('my.common.version') } and then in sub-proj. you should...

View Article


Git repository at did not contain a project publishing the specified dependency

Hi! I’m using the Source Dependency feature detailed here: https://blog.gradle.org/introducing-source-dependencies //settings.gradle include ':codegen' sourceControl {...

View Article


Gradle not satisfied with anything

It seems like you should be copying the gradle directory from your application root as @JLLeitschuh mentioned, but there’s no indication from your Dockerfile snippet that you’re doing that. COPY...

View Article

Gradle not satisfied with anything

@Appu_Goundan Thank you for your interest in joining the conversation. I posted the Dockerfile snippet that is remotely relevent to the task at hand. Everything I did not post is not related to this...

View Article

Buildship 3.1.3 is now available

I’m using Eclipse 2019-09. I have v3.1.2 of Buildship installed. I saw the update notification for 3.1.3. Whenever I attempt the update, it says it can’t find it anywhere. I tried uninstalling it, but...

View Article

"No valid plugin descriptors were found in META-INF/gradle-plugins"?

See https://docs.gradle.org/current/userguide/custom_plugins.html

View Article


Publishing large files to a maven on S3 fails when resetting the input stream

While publishing a large file, 1.6GiB, to an S3 bucket using the maven-publish plugin, I keep getting the following exception in Gradle 6.0: Caused by: com.amazonaws.ResetException: The request to the...

View Article

Android studio Grtadle build error dependencies

I tried this, but still it gives me the same error. When i test the connection with the .pom url in android studio proxy settings which are the same as in the gradle.properties it gives me “Connection...

View Article


Image may be NSFW.
Clik here to view.

Publish Dependencies to MavenLocal

You can publish your own artifacts but not the dependencies. They are cached in Gradle cache. What your use case for wanting to store dependencies in maven local repo? Cache Dependencies into Local...

View Article

Image may be NSFW.
Clik here to view.

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

Check out what’s new in this release of the mrJar plugin ☆ Easily exclude individual artifacts from the module path ☆ Easily specify packages to export & open ☆ Improved Eclipse/Buildship/vscode...

View Article


Gradle doesn't publish?

Gradle v4.10.2 I’m building a Gradle Java plugin, and it builds. However when I run ./gradlew publish it does nothing, i.e., the artifact doesn’t get published. Here’s my build.gradle file (I have all...

View Article

Gradle doesn't publish?

RTFM. I was missing the publications block inside the publishing block. Here’s the whole block publishing { publications { myLibrary(MavenPublication) { from components.java } } repositories { maven {...

View Article

Dependency Resolution Fails in Gradle 6

I’ve got 2 problems since upgrading to Gradle 6. I’ve got a multi-project build. As part of the upgrade process to Gradle 6, I replaced all of my “compile” dependencies with “implementation” as per...

View Article
Browsing all 20347 articles
Browse latest View live