CVE issues with Gradle 6.3
Hi, We want to use Gradle as our build tool, and for that we share gradle 6.3 with our security team for analysis. However they have raised some CVE in some of the jar files gradle internally using...
View ArticleCVE issues with Gradle 6.3
Would not the right approach be, to report the CVE affected dependencies as gradle issues? So that the dependencies are bumped and included in a new gradle release? Could you share the CVE numbers?
View ArticleTooling api - support for relative paths in gradle.properties
This (very old) thread seems related: Is it possible to set the process 'cwd' (aka 'working directory') via the tooling API?
View ArticleUsing GradleRunner to test a plugin with GradleBuild tasks
I’m experiencing the same issue. Did you find a solution on how to solve this?
View ArticleGradle Enterprise 2020.1.1 has been released
Gradle Enterprise 2020.1.1 is now available. Please see the release notes for more information.
View ArticleGradle ant task multiple/concatenated classpath
Translating this into gradle would be something like configurations { hibernateTool } dependencies { hibernateTool fileTree('WebContent/WEB-INF/lib') { include '*.jar' } hibernateTool...
View ArticleDokka 0.10 Kotlin Javadoc Workaround
Thank you for your response. I believe there is currently no way to run Dokka while while Gradle runs with Java 10+. I’m asking about the best workaround. I believe you are suggesting I still use the...
View ArticleUsing GradleRunner to test a plugin with GradleBuild tasks
I just tried https://github.com/bmuschko/gradle-testkit-gradlebuild/pull/1 again, and it fails with gradle 4.10.3, but passes with 6.3. Curious when it started working…
View ArticleUsing GradleRunner to test a plugin with GradleBuild tasks
I spoke too soon…6.3 and 5.6.4 still fail with the same error.
View ArticleCan someone tell me what I am doing wrong to align dependency versions across...
I am stuck. Trying to learn how to do this (as can be seen in Need more details on using platforms to align dependency versions in a multi-project setup) but am failing. I created a minimal project...
View ArticleMaven-surefire-plugin
Hi Lance, could you please help me to implement the below from Pom.xml to build.gradle <groupId>org.apache.maven.plugins</groupId>...
View ArticleUsing GradleRunner to test a plugin with GradleBuild tasks
So you did not find a solution for the issue back then? I tried the one with the classpath file, but was unable to pull it off.
View ArticleMaven-surefire-plugin
It’ll be something like apply plugin: 'java' test { ignoreFailures = true useTestNG { suiteXmlFiles << file('src/test/resources/testng.xml') listeners <<...
View ArticleGradle resolves platform on non transitive configurations
Hello, I am using Gradle together with IntelliJ for development. Currently, I have the issue that intellij is unable to download the sources for my published libraries. I filed an IntelliJ bug:...
View ArticleBest practice for including a dependency in a 3rd party plugin?
I’m trying to make my jar file available to a 3rd party plugin. The approach I’ve found to work is to add buildscript { dependencies { classpath ("my-group-id:my-artifact-id:version") } } to the...
View ArticleBest practice for including a dependency in a 3rd party plugin?
Ideally, the third party plugin should load your class(es) via a different classloader (eg URLClassLoader) rather than using the buildscript classloader. Then, the third party plugin would allow the...
View ArticleBest practice for including a dependency in a 3rd party plugin?
Thanks for coming back so quickly. The plugin is OWASP dependency check. https://github.com/jeremylong/dependency-check-gradle. The reason I’m adding my own jar is to make a suppressions.xml file...
View ArticleBest practice for including a dependency in a 3rd party plugin?
As usual, this would’ve been much easier to give help if you included your current config. You could do something like apply plugin: 'org.owasp.dependencycheck' configurations { suppressions {...
View ArticleEnabling Daemon in Continuous Integration
Is there any way to tell gradle where the daemon is? I’m thinking some sort of socket file. I have the exact same scenarios as @fchristysen, my CI starts a new container each time a build happens so...
View ArticleCreating a subproject with Buildship in eclipse
I face an issue here. While trying to run the main class from sub project, I get Error: Could not load or find Main class. Can any one help here?
View Article