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 ArticleHelp 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 ArticleError: 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 ArticleIn 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 ArticleHow 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 ArticleAndroid 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 ArticlePublishing 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 ArticleHow 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 ArticleCompilation 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 ArticleFAILURE: 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 ArticleUnzipping 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 ArticleContainerized 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 ArticlePublish plugin without test package
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleKotlin 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 ArticleHow 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 ArticleForce 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 ArticleApplication.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