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

Gradle Enterprise Gradle plugin 3.3.1 has been released

View Article


Gradle Enterprise Gradle plugin 3.3.3 has been released

View Article


How do I build APK from open source when using gradlew?

Good Day/Afternoon ! I just fixed some-how problem with expo start , but now I want build app from this source code using gradlew assembleRelease , after entering command i get this error :...

View Article

Help in running gradle jacocoReport

I am using jacocoTestReport to run the junit tests. I am getting error on structure below… Could not find method structure() for arguments [{name=server},...

View Article

Error: unable to read execution data file while running gradle jacocoReport

When i run jacocoReport using ./gradlew jacocoReport, i get this error. Not sure how to fix it. Execution failed for task ‘:java:test:jacocoTestReport’. Unable to read execution data file...

View Article


In gradlem, can avoid jar hell a little by doing something like this

We have a downstream library webpieces ( a webserver, httpclient, etc) that brings in jackson(if using the jackson plugin), brings in hibernate(if using hibernate plugin) etc. etc. We have a mono-repo...

View Article

How can I realize a task that reads a zip from a local repository?

I would like to read a zip from a local repository inside a custom plugin: class MyPlugin implements Plugin<Project> { ... project.task('myTask', type:Unknown) { File aZipFromOurRepository =...

View Article

Android multi modules annotation processing

In a multi modules Android project annotation processing is still executed as a first task before any compilation is done and then a complete compilation is triggered. Of course this is done per...

View Article


Include dependencies in custom Gradle plugin

Could somebody please help me with this?

View Article


Publishing local plugin

Note the discrepancy between ./repo (publishing) and ../repo (buildscript.repositories). java-gradle-plugin creates the plugin’s metadata automatically, so there should be no need to create them as...

View Article

How can I realize a task that reads a zip from a local repository?

You can do project.with { configurations { myplugin { transitive = false } } dependencies { myplugin 'myGroup:myId:myVersion' } task('myTask') { doLast { File aZipFromOurRepository =...

View Article

Compilation failed; see the compiler error output for details

I am using BuildShip’s gradle plug in for Eclipse. The Task View has this error message: Compilation failed; see the compiler error output for details. Where is the compiler error output? The problem...

View Article

FAILURE: Build failed with an exception VS Code

Hi, I am using Flutter but this issue is to do with Gradle. The error I am getting is [+29946 ms] FAILURE: Build failed with an exception. [+1211 ms] * What went wrong: [ +3 ms] Gradle could not start...

View Article


Image may be NSFW.
Clik here to view.

Unzipping artifact created with application plugin

I’ll try to keep it short here. I have a multi-project build where I build one java sub-project with the application plugin and a separate sub-project just with the distribution plugin. The end goal...

View Article

Containerized builds recommendations to avoid being killed because of OOM?

Are here any Gradle recommendations on Gradle settings that should be used during containerized builds to avoid frequent OutOfMemoryError: Container killed due to memory usage problems? We run our...

View Article


Publish plugin without test package

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

View Article

Kotlin DSL Plugin doc is not reproducible

I got this same error when i upgraded Kotlin Gradle plugin from 3.6 to 4.0 and from gradle wrapper from 5.6.4 to 6.1.1. I am also unable to resolve my this problem.

View Article


How to make plugin dependent on gradle task

Plugin may have an option to skip dependency registration (make pull request with fix if not!). And then you can add dependencies as usual: test.dependsOn(generateCucumberReports) or...

View Article

Force rerun a task by another task

is there a way I could make a task re-run again if another task depends on it and that it has been executed by gradle before? in root project i have made this configuration afterEvaluate {...

View Article

Application.kt Flutter app error

good morning, I expose my problem to see if someone can help me. I was going to approve my flutter app in debug mode but I got this error. I leave you the source code and the error greetings SOURCE...

View Article
Browsing all 19850 articles
Browse latest View live