How to setup a Gradle continuous build for your java project

One of the major benefit Gradle can provide you is continuous build feature. First of all let me explain what is meant by continuous build. A normal build is where you make any changes in the source files  (It can be in .java file or in the resources you use) and you need to explicitly build your project to create a new jar/war/ear file.

Read the rest

Java Compile Time And Run Time Dependencies, Provided Scope And More

This post is inspired from the mess I have made in my java project around compile time and runtime dependencies. There are lots of questions you will ask when you try to resolve all the dependencies for your project using tools like Maven or Gradle. These tools make a distinction between compile time and run time dependency, like compile scope, provided scope etc.

Read the rest

Top 5 Gradle Tips And Tricks For Beginners

Release Engineers are inevitable part in software engineering field, who is concerned with compilation, wrapping up or assembly and delivery (deployment) of the source code. These days bigger projects are using Gradle as the build tool since it makes the release of the code much faster and hassle-free.

Read the rest

Create Oracle database JDBC connection in gradle

Create Oracle database JDBC connection in gradle

It is usual  for a Gradle script to get connected to a database like Oracle. Doing this in Gradle may seem pretty simple and straightforward. But sometimes things wont get right. If you are having a hard time to get connected to oracle database, using the java code inside gradle, this tutorial is for you.

Read the rest

How to write and call methods in gradle script

As mentioned in our previous post where we discussed the flow of a gradle custom task, we will now talk about how we can define a custom method inside the Gradle script so that we can arrange our coding for a better understanding.

In one approach of writing methods are given below:

ext.myCustomMethod = {  parameter_1, parameter_2 ->



The above declaration of method will be globally available along the project.

Read the rest

Stay in touch!

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

Technicles will use the information you provide on this form to be in touch with you and to provide updates and marketing.