Here I will tell you how to include the required gradle project into another project. Situation may occur when you need to have dependency of another gradle project into your current gradle project, but neither of these projects is a multi-module project. So in this case you can easily add the required project into your…

Posted in Gradle Spring Boot

How include required gradle project into another project

Introduction Here in this tutorial I will tell you how to exclude Junit test cases from build automation in Java applications. It’s not about skipping test cases but it’s about excluding test cases for a particular package. Situations may arise when you want to exclude some Junit test cases from running in some environments (for…

Posted in Gradle Junit Maven

How to exclude Junit tests using Gradle or Maven in Java Applications

Introduction In this tutorial I will tell you how to create executable jar using gradle or maven build tool in Spring Boot application. Generally maven or gradle tool is used in Java applications to automate the build process. I will also see how to control the target jar name with version appended into it. Spring…

Posted in Gradle Maven Spring Boot

How to create executable jar using Gradle or Maven in Spring Boot Application

Introduction Here we will see how to create Microservices using Spring Boot and Spring Cloud and build using Gradle tool. What are Microservices? Before I tell you about the microservices, I would like to tell you about monolithic architectural style, which is built as a single, autonomous unit. So let’s say an web application with…

Posted in Gradle Microservices Spring Boot

Create Microservices using Spring Boot and build using Gradle

Introduction This tutorial will show you how to integrate in-memory H2 database with Spring Boot and build using Gradle/Maven tools. You will see here simple Spring Boot Data JPA example with Spring REST API to understand how it works. H2 is in-memory database, so it does not have persistence capability once your Spring Boot application…

Posted in Gradle Spring Boot Spring JPA

Integrate H2 In-memory Database with Spring Boot

Introduction The error, utility classes should not have a public or default constructor, you notice mainly in utility classes where you have declared your class method(s) as public static and your class does not have private constructor as well as your class cannot be made as final. This error occurs due to the checkstyle rules defined…

Posted in Gradle Spring Boot

Utility classes should not have a public or default constructor – Spring Boot

Introduction I will show here how to use checkstyle plugin in gradle based Java project. Checkstyle is a static code quality tool used to find Fan-out complexity of a class, complexity of method, utility class, bugs due to not following the coding standards. So you can remove the complexity from your Java source code and…

Posted in Code Quality Gradle

How to use checkstyle plugin in gradle based project

Building Mule Apps with Gradle in Eclipse, i.e., you are going to create Mule project outside Mule Studio. We will build the Mule project in Eclipse using Gradle script. Gradle is becoming more and more popularity as a build system. It combines the power of scripting with the simplicity of conventions, where customization does not…

Posted in Gradle Mule ESB

Building Mule Apps with Gradle in Eclipse

Integrate npm web app in spring boot with gradle is basically a multi-module project as we have seen in our earlier tutorials here with maven build in spring boot and here with maven in Eclipse. But the example on integrate npm web app in spring boot with gradle uses gradle to build the project. Here…

Posted in Gradle Spring Boot

Integrate npm web app in Spring Boot with Gradle

In this tutorial I will show you how to create Kotlin project in Eclipse. This example shows you how to create Kotlin gradle project or Kotlin maven project. Kotlin is statically typed programming language for modern multiplatform applications. Kotlin has 100% compatibility with Java or vice-versa. Salient Features of Kotlin Drastically reduces the amount of…

Posted in Gradle Kotlin Maven

Creating Kotlin Project in Eclipse

In this tutorial I will show you an example on evolving database using Spring Boot and Liquibase with YAML and SQL configuration. We had seen similar example using XML configuration. I will also show you how to build application using both maven and gradle build tools. I will not tell you much details on Liquibase…

Posted in Gradle Liquibase Spring Boot

Evolving Database using Spring Boot and Liquibase with YAML and SQL Configuration

We have seen in our previous tutorial Spring boot activiti example how Business Process Management works using Activiti framework. In my previous tutorial I have used the default behavior of the process engine. In this tutorial I will show you how you can bootstrap the process engine using Spring JavaConfig to create our own spring boot activity…

Posted in Activiti Gradle Spring Boot

Spring Boot Activiti – Process Engine Configuration