<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Gradle on widerin</title><link>http://widerin.net/tags/gradle/</link><description>Recent content in Gradle on widerin</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 07 Sep 2026 18:30:36 +0200</lastBuildDate><atom:link href="http://widerin.net/tags/gradle/index.xml" rel="self" type="application/rss+xml"/><item><title>Gitlab Security Products with Java and Gradle</title><link>http://widerin.net/posts/2020/gitlab-security-products-with-java-and-gradle/</link><pubDate>Sun, 08 Mar 2020 00:00:00 +0000</pubDate><guid>http://widerin.net/posts/2020/gitlab-security-products-with-java-and-gradle/</guid><description>&lt;p&gt;GitLab security products have been constantly improving support for different
build tools and programming languages.&lt;/p&gt;
&lt;p&gt;My &lt;a href="https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/7"&gt;recent contribution&lt;/a&gt;
to &lt;a href="https://docs.gitlab.com/ee/user/compliance/license_compliance/#license-compliance"&gt;License compliance&lt;/a&gt; allows now to inject commands &lt;code&gt;SETUP_CMD&lt;/code&gt; environment
variable to the core to bypass the package manager auto-detection and make use
of the &lt;code&gt;./gradlew&lt;/code&gt; &lt;a href="https://gradle.org"&gt;Gradle&lt;/a&gt; wrapper script.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;include:
- template: Security/License-Scanning.gitlab-ci.yml
variables:
SETUP_CMD: sh my-custom-install-script.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In this example, my-custom-install-script.sh is a shell script at the root
directory of your project.&lt;/p&gt;</description></item></channel></rss>