
Posted In: Build Tools, Gradle
Gradle + Gretty advance configuration
Technologies used Gradle 2.14.1 Gretty Eclipse Neon JDK 1.8 For basic configuration add to build.gradle apply plugin: ‘war’ apply from: ‘https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin’ To change port and context gretty { httpPort = 8081 contextPath = ‘/MyWebApp’ } To change servlet container. Options are ‘jetty7’, ‘jetty8’, ‘jetty9’, ‘tomcat7’, ‘tomcat8’ gretty { servletContainer = ‘tomcat8’ } Note When you […]
Read MoreTags: Gradle, Gretty

Posted In: Build Tools, Gradle
Gradle + Eclipse + Servlet3 + Jetty – Best way to create Servlet3 Gradle project using eclipse
Download example source and eclipse project Steps 1. Choose http://download.eclipse.org/releases/neon Then select Buildship gradle plug-in and install 2. Restart eclipse. Now choose New -> Other -> Gradle 3. Add project name 4. Select Gradle Wrapper 5. Click finish 6. Now add following to build.gradle //Use Gretty plugin for war. Jetty plugin will soon be removed […]
Read MoreTags: Eclipse, Gradle
- Apache (13)
- Build Tools (2)
- Gradle (2)
- Caching (1)
- cpanel (1)
- cURL (1)
- Database (7)
- Hibernate (5)
- Java Core (38)
- Java Script (15)
- Bootstrap (1)
- File Upload (7)
- jQuery (3)
- React (3)
- JEE (13)
- JSON (41)
- GSON (13)
- Jackson 1X (1)
- Jackson 2X (12)
- jsoniter (1)
- Logging (2)
- Apache Commons Logging (1)
- Apache Log4J (1)
- Logback (1)
- SLF4J (1)
- MongoDB (1)
- OS (1)
- Linux (1)
- Security (5)
- Server (4)
- Tomcat (4)
- Service (2)
- Micro (2)
- Spring (46)
- Pattern (2)
- Spring Boot (20)
- Spring Data (4)
- Spring MVC (8)
- Spring REST (13)
- Spring Security (7)
- Testing (11)
- XML (5)
- JDOM XML Parser (1)