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

Use Repository Manager to proxy Gradle Central Plugin Repository

So I could use JCenter as the Plugin Repository proxy in my Nexus? We are using Maven Central as the Maven Repository proxy. Edit: Just made an attempt, but it could not find the plugins in JCenter...

View Article


Image may be NSFW.
Clik here to view.

Use Repository Manager to proxy Gradle Central Plugin Repository

DJViking: So I could use JCenter as the Plugin Repository proxy in my Nexus? No, the Plugin Portal is a superset, not a subset of JCenter. Some requests end up going to JCenter, but there are JARs and...

View Article


Exclude not available in java-platform constraints?

No, that is not possible for DependencyConstraints.

View Article

Image may be NSFW.
Clik here to view.

Use Repository Manager to proxy Gradle Central Plugin Repository

jjustinic: For Gradle plugin access through Nexus, setting up a proxy repository to https://plugins.gradle.org/m2/ and using that as the repository in buildscript or pluginManagement is enough. Ok. If...

View Article

Apply plugin inside a plugin

Did anyone end up getting this working? I’m also trying to get this working but have had issues (the plugins are actually in completely different repos that I’m trying to incorporate)

View Article


Image may be NSFW.
Clik here to view.

Error on Unit tests with [initializationError]

Hi Everyone, I am having this error with my project that I desperately need help with. Every time I run this command on Android Studio Terminal ./gradlew test it ends up with the following error: Task...

View Article

Gradle 6.2-rc-3 is now available for testing

Gradle 6.2 RC3 is available for testing; see the release notes for more information.

View Article

Gradle 6.2-rc-3 is now available for testing

View Article


swinguiImplementation dependency not working with gradle 6

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

View Article


Use Repository Manager to proxy Gradle Central Plugin Repository

You should not need /maven-public in the list or JCenter added to the Plugin Repository proxy. However, looking at the images you originally posted, leaving the Validate that all content uploaded to...

View Article

Use Repository Manager to proxy Gradle Central Plugin Repository

Tried to uncheck the “Strict Content Type Validation” and removed the maven-public from pluginManagement. I also tried to set the following configuration as it seemed to make sense, since the Plugin...

View Article

Exclude not available in java-platform constraints?

Acually it all works as desired if you publish a hand written BOM with individual excludes, but the java-platform-plugin has no syntax to generate every kind of exclusions. As far as I remeber...

View Article

Apply plugin inside a plugin

The Issue with the above mentioned solutions is that they declared the dependency in the plugins build.gradle file as runtime. That’s why you can not apply the Plugin class (as it is missing in the...

View Article


How to wrap an existing Gradle task with parameters into a custom task?

Here is the wrapper task implementation I was looking for: import com.some.external.plugin.DownloadJsonTask tasks.register("downloadFoo", DownloadJsonTask) { task -> description("Downloads foo.")...

View Article

Can I update a task property during execution step?

my task has a property like: @OutputFiles ListProperty<RegularFile> outFiles; during the step of execution time, i want to add entries into the list but i got: The value for this property is...

View Article


Can I update a task property during execution step?

Hi, the location of the output files needs to be known prior to task execution. It is more about configuring the task where the outputs should end up (aka in this directory), instead of the task...

View Article

Can I update a task property during execution step?

Let’s say Task A depends on Task B. Task B outputs some files into some directory. I want Task A know the Task B output state changed(include content changes, removed or new added files) so that Task...

View Article


Can I update a task property during execution step?

You should configure task B to have an output directory, where it creates the files. Then task A should have the output directory of task B as an input directory. Task A itself should be an...

View Article

Scope of extra property in a build.gradle.kts script

Hello, why does the (build.gradle.kts) script below gives the error : Cannot get property ‘kotlinVersion’ on extra properties extension as it does not exist ? buildscript { extra["kotlinVersion"] =...

View Article

Image may be NSFW.
Clik here to view.

Can I update a task property during execution step?

I have verified your solution, it works! Thank you very much!!

View Article
Browsing all 20352 articles
Browse latest View live