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

Axion Release Error

Ok, it was the version info in the: apply plugin: "pl.allegro.tech.build.axion-release" version '1.11.0' Using: apply plugin: "pl.allegro.tech.build.axion-release" It works.

View Article


How to use plugin-subproject in another subproject?

So, in your example gradle-plugin isn’t a part of the same root project. it’s a separate project that doesn’t share common configuration. and doc says: must not have a rootProject.name the same as...

View Article


Files pom y jar

Hi when I try to create an application Android studio show this: ERROR: Could not find com.android.tools.build:gradle:5.1.1. Searched in the following locations:...

View Article

How to use plugin-subproject in another subproject?

So, in your example gradle-plugin isn’t a part of the same root project. Correct, there’s two root project’s but they act like a single project thanks to Gradle’s Composite Build feature

View Article

How to use plugin-subproject in another subproject?

I’ve been thinking that the point around Composite Build is that we could link to exactly separate project as would it be our own subproject. is it just another workaround here ?

View Article


How to use plugin-subproject in another subproject?

Using a locally built gradle plugin in your build is different from using one java project in another. There’s a chicken or egg problem where the buildscript classloader needs to be defined before the...

View Article

How to use plugin-subproject in another subproject?

Oh, yes. Thank you, I got the point. I’ll try this way. But Composite Build seems aren’t supposed to share common config, yes ? subprojects { apply(plugin = "org.jetbrains.kotlin.jvm") repositories {...

View Article

How to use plugin-subproject in another subproject?

You could use a commom.gradle which you apply in both. See my version.txt logic where I share the version number between the two builds

View Article


Composite build error. Project not found

Yes that was it. Also I needed this in my other build.gradle file group “org.sample” Thanks!

View Article


How to use plugin-subproject in another subproject?

One thing I forgot to ask is this: Do you intend to publish this plugin for use in multiple projects? Or do you only need it inside a single (multi module?) project? If you don’t intend to publish the...

View Article

Message about archiveVersion seems misleading or incomplete...?

Apparently archiveVersion only applies to the ‘jar’ task, not ‘publishing’… Anybody have an explanation? Also, the error message could have been a bit more explicit…!

View Article

Image may be NSFW.
Clik here to view.

How to use plugin-subproject in another subproject?

Yes, I intend. At least, I want to try Eventually I came to decision not to use composite build (as for now). It complicates config-sharing and, additionally, gradle-plugin-subproject has two direct...

View Article

Image may be NSFW.
Clik here to view.

Chicken/egg issue with dependency configuration setup and "task configuration...

Lance: With gradle, the benefits are realised by writing to disk rather than in memory. And properly declaring inputs Yes. But in this case the inputs are external, complicated.

View Article


Can gradle automate tasks in a orchestration fashion?

Is there any Gradle plugin to automate tasks like UNIX crontab ?

View Article

Need more details on using platforms to align dependency versions in a...

I am trying to learn how to use “platforms” to align dependency versions between projects in a multi-project setup. So far I’ve seen: https://docs.gradle.org/6.2.1/userguide/platforms.html...

View Article


Image may be NSFW.
Clik here to view.

Gradle 6, Gradle TestKit and DuplicatesStrategy.INCLUDE warning

Since upgrading Gradle to version 6, I noticed new warnings related to functional tests I’ve implemented with TestKit. It is clear to me how to get rid of them. What is not clear is why they appear in...

View Article

Broadcast custom ProgressEvents for Tooling Api

I would like to configure my project to to have tasks broadcast custom ProgressEvents that a ProgressListener in the tooling API can handle. Is there any way to trigger these events in my project?

View Article


Short-circuit dependency chain if task outputs exist

I have a linear chain of dependent tasks: consume depends on generate depends on download. The download task is slow and unreliable, but changes rarely, so we intend to produce generate’s single...

View Article

Image may be NSFW.
Clik here to view.

Does "org.gradle.jvmargs" really support socks proxy?

Follow the offical document , we can set http or https proxy in gradle.properties file systemProp.http.proxyHost=127.0.0.1 systemProp.http.proxyPort=1080 systemProp.https.proxyHost=127.0.0.1...

View Article

Declaring capabilities for external modules. question

i tried" Example 2. A build file with an implicit conflict of logging frameworks" in https://docs.gradle.org/current/userguide/component_capabilities.html. but cannot resolve symbol ‘id’,...

View Article
Browsing all 19845 articles
Browse latest View live