Blog Archives

Maven to Gradle Dependency Converter

I published a simple Maven to Gradle dependency converter. You can try it out at mvn2gradle.codetutr.com. It’s still pretty primitive. Right now, it only transforms the groupId, artifactId and version. Variables for version are preserved.

Posted in Gradle, Maven Tagged with: ,

Configuring Gradle behind a Proxy

If you are working with Gradle behind a proxy, you will need to configure Gradle with proxy information so it can download dependencies. Note: If you haven’t installed Gradle yet, read my post. In your user directory (e.g. c:\users\steve or

Posted in Gradle Tagged with:

Simple Spring MVC Web Application using Gradle

This post will be similar to our previous post, Simple Gradle Web Application, except we will now use Spring MVC, rather than raw servlets. It is really easy to get a basic Spring MVC application running with Gradle.You can download

Posted in Gradle, Spring Tagged with: , , ,

Simple Gradle Web Application

Gradle easily supports Java web applications through the “war” and “jetty” plugins. This tutorial will show you how to quickly make a simple Java Servlet web application. Our basic project structure will be: basic-web src main java com codetutr HelloWorldServlet.java

Posted in Gradle, Java Tagged with: , , ,

How to Import Gradle Project into Eclipse

Gradle is a great configuration tool, but you obviously need to work inside your IDE too! The Gradle “eclipse” plugin supports easily importing your project into Eclipse. Here is an example: Create a new folder called basic-eclipse. Inside the folder,

Posted in Gradle Tagged with: ,

Basic Java Application Project Using Gradle

Here is how to setup a Gradle build to run a basic Java project through the main method: Create a folder for the project. In this example, we will name the folder basic-java. Create a Java file, called HelloWorld.java, inside

Posted in Gradle Tagged with: ,

How to Install Gradle

Gradle is a dependency management / build tool that combines the best of Maven and Ant, making it an extremely powerful and customizable tool. It also uses a sleek Groovy DSL instead of the XML approach of Maven and Ant

Posted in Gradle Tagged with: , ,

Sponsored

Follow Me

RSS FeedFollow me on Twitter