Merge Jacoco coverage reports for multiproject setups
Seriously, I have spent hours trying to fix jacoco after upgrading 5.3 -> 5.6. The first comment on this github gist USED to work in 5.3 but not in 5.6…(perfect example of how to help people with a...
View ArticleMerge Jacoco coverage reports for multiproject setups
@Lance I tried combining your idea with the merge report but alas I get test.exec not found in the empty projects since the jacoco plugin is in my subprojects section, even empty projects get the...
View ArticleGradle having problems with large folders as task inputs/outputs
I’m trying to integrate an Angular project into my Gradle build. Of course, Angular means node_modules, so the “large size” is both in volume (~250 MB, which would be huge for a Java project folder,...
View ArticleJaCoCo plugin with multi-project builds
This is great!!! in our case, is there any way not to ‘list’ the projects so as they change, they automatically get included in the test coverage? We test like so blog.twitter.com The Testing...
View ArticleJaCoCo plugin with multi-project builds
Of course! See from the Project javadocs there are getters for allProjects and subprojects which return Set<Project>. So, with a bit of groovy knowledge you can do things like def...
View ArticleGradle having problems with large folders as task inputs/outputs
I fixed it by removing this part of build.gradle: def modulesDir = "$appDir/node_modules" def files = [ "$appDir/package.json", // lock files: "$appDir/package-lock.json", "$appDir/yarn.lock",...
View ArticleCould not generate a decorated class for class: ClassNotFound
Hi folks, I’m in the process of developing a Gradle plugin with a few (necessary) external dependencies. I’ve created the plugin (source at...
View ArticleHow do I force gradle to download dependency sources
Can you tell a bit more about the project. Is it a multi-module build? Where are you applying the idea plugin? Are you only doing it for the root project? or are you applying it for all the java...
View ArticleHow do I force gradle to download dependency sources
It’s not multi module project. I’m applying it right after plugins have been declared e.g plugins { id ‘something’ // you know } apply plugin: ‘idea’
View ArticleCan't Publish Scan Behind Proxy
Sorry for the very very late reply Peter. We’re currently working on a fix for that. cheers, rene
View ArticleFailing the build on deprecation warnings
for completeness. I think what you’re looking for is running your build with --warning-mode fail cheers, René
View ArticleJava version mismatch when running build
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleExecuting test in subprojects
Hi, I have three Gradle subprojects: A, B, C. They have standard Java sourceSet structure. Assume A has a bad test. gradle test exits due to failure after A is done. Is there way to configure build...
View ArticlePrinting plugin extension
Hi, I am applying spotless plugin and configuring it like this spotless { java { googleJavaFormat(‘1.7’) targetExclude ‘build/**’ } } I am trying to understand how can I print those properties at a...
View ArticleTrying to exclude Tests in one task and include in Another Task, But gradle...
Hi , I have created Two Test Tasks, I need to exclude some files in one task and include those files in another task. However, gradle is always excluding while executing the task which has included....
View ArticleSource code for com.gradle.plugin-publish
Any news here ? Would it be possible to open source com.gradle.plugin-publish or otherwise, make it possible to upload to the gradle portal using maven-publish ?
View ArticleGradle 6.2-rc-1 is now available for testing
Gradle 6.2 RC1 is available for testing; see the release notes for more information.
View Article