Skip to main content

Groovy Gradle Version 5.3.1

Gradle is an open-source build automation tool focused on flexibility and performance. It has a mature offering of libraries,plugins, and testing. Gradle build scripts are written using a Groovy or Kotlin DSL.

Although this post focuses on installation, I also wanted to provide some links for extra value:

Plugins can be found @ https://plugins.gradle.org/

Netflix's Glisten is an ease of use Groovy library for building JVM applications with Amazon Simple Workflow Service (SWF) check out https://github.com/Netflix/glisten

Lastly, Gradle auto completion can be found @ https://github.com/gradle/gradle-completion

Installing Gradle Version 5.3.1

yum makecache
yum install unzip
yum install bzip2
yum remove java
yum install java-1.8.0-openjdk
// Confirm Intalled correctly
java -version

wget https://services.gradle.org/distributions/gradle-5.3.1-bin.zip -P /tmp/
mkdir /opt/gradle
unzip -d /opt/gradle /tmp/gradle-5.3.1-bin.zip
rm /tmp/gradle-5.3.1-bin.zip
vim /etc/profile.d/gradle.sh  => Insert the following:
export PATH=$PATH:/opt/gradle/gradle-5.3.1/bin
chmod 755 /etc/profile.d/gradle.sh

Logout and Login to reset shell.

# gradle --version

Welcome to Gradle 5.3.1!
For more details see https://docs.gradle.org/5.3.1/release-notes.html
------------------------------------------------------------
Gradle 5.3.1
------------------------------------------------------------

Build time:   2019-03-28 09:09:23 UTC
Revision:     f2fae6ba563cfb772c8bc35d31e43c59a5b620c3

Kotlin:       1.3.21
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          1.8.0_201 (Oracle Corporation 25.201-b09)
OS:           Linux 3.10.0-957.10.1.el7.x86_64 amd64

Comments

Popular posts from this blog

Veeam Free Linux Agent Install on Centos 7

If you are a junior admin that works with Vmware or Azure, learning Veeam backups can elevate your skills and value. This post will walk through the steps of setting up the free Linux backup agent on a Centos 7 virtual machine. Step 1: Lay the Foundation https://helpcenter.veeam.com/docs/agentforlinux/userguide/system_requirements.html?ver=30 https://helpcenter.veeam.com/docs/agentforlinux/userguide/installation_process.html?ver=30#dep Run uname -r and take note of the kernel version. Make sure you yum install kernel-devel which matches your kernel version In order to install libudev dependency I used yum install systemd-devel For libfuse dependency I used yum install fuse-libs yum install syslinux yum install epel-release yum update -y or yum makecache yum install dkms (If you cant find this package check your epel realease) *Do Not Skip Dependencies* unless they do not apply to your operating system. Footnotes will guide you in the docu...

Friday Reads for the Weekend

Happy Good Friday! Here is some useful links for a relaxing weekend. My advice would be to download the VMs as soon as possible even if you do not plan on doing a deep dive immediately on the subject. Download the Puppet Learning VM: https://puppet.com/download-learning-vm How to set up the Puppet Learning VM: https://www.youtube.com/watch?v=Y0nsM4uG9pQ&feature=youtu.be So You Think You Are Ready For The RHCSA Exam?: (This resource has been incredibly enjoyable and useful. The link to download the OVA is in the body of the post. You may need to use Firefox since Chrome forces https.) https://blog.fpmurphy.com/2016/09/so-you-think-you-are-ready-for-the-rhcsa-exam.html GNU Debugger: SREcon16 - The Realities of the Job of Delivering Reliability: https://www.youtube.com/watch?v=Lf4RwlOdppg&list=PLbRoZ5Rrl5lflZ8xrdFAT4BT36y_ycnyx Brendan D. Gregg Blog: http://www.brendangregg.com/blog/2016-08-09/gdb-example-ncurses.html Chef: https://learn.chef.io/#/ Ops...