Andrey Hihlovskiy

Professional blog on groovy, gradle, Java, Javascript and other stuff.

Tag Archives: spring-boot

Gretty 1.1.9 is out!

Gretty version 1.1.9 is out and immediately available at github, bintray, maven central and gradle plugin portal!

Gretty version 1.1.9 introduces full isolation of it’s own logging system (slf4j/logback) from the constituent web-applications. Now web-applications are free to use any logging system – Gretty does not interfere and does not force logback to be used.

Also Gretty 1.1.9 solves problems with farm configuration when farm is defined in the parent project and web-applications are defined in child projects.

At last Gretty 1.1.9 includes upgrades of the following components to their latest versions:

  • jetty7: 7.6.15.v20140411 -> 7.6.16.v20140903
  • jetty9: 9.2.3.v20140905 -> 9.2.7.v20150116
  • selenium: 2.44.0 -> 2.45.0
  • spock: 0.7-groovy-2.0 -> 1.0-groovy-2.4
  • tomcat7: 7.0.55 -> 7.0.59
  • tomcat8: 8.0.15 -> 8.0.20

Gretty is a feature-rich gradle plugin for running web-apps on embedded servlet containers. It supports Jetty versions 7, 8 and 9, Tomcat versions 7 and 8, multiple web-apps and many more. It wraps servlet container functions as convenient Gradle tasks and configuration DSL.

A complete list of Gretty features is available in feature overview.

Complete sources of Gretty are here: https://github.com/akhikhl/gretty

Complete documentation on Gretty is here: http://akhikhl.github.io/gretty-doc/

Gretty 1.1.5 is out!

Hello people,

Gretty version 1.1.5 is out and immediately available at github, bintray, maven central and gradle plugin portal!

Gretty is a feature-rich gradle plugin for running webapps on Jetty and Tomcat. Sources available here:
https://github.com/akhikhl/gretty

What’s new in Gretty 1.1.5:

Full list of changes: https://github.com/akhikhl/gretty/blob/master/changes.md

I would be thankful for your feedback, bug reports and suggestions 🙂

Gretty 1.1.3 is out!

I’m happy to announce that Gretty 1.1.3 is out!

New in Gretty 1.1.3: virtual mapping of gradle dependencies (of the web-application) to “WEB-INF/lib” directory. This feature is needed by some web frameworks accessing jar files in “WEB-INF/lib” (e.g. Freemarker).

Special thanks to @saladinkzn (Timur Shakurov) for introducing this nice feature.

Up-to-date Gretty sources are always available at:

https://github.com/akhikhl/gretty

Gretty documentation:

http://akhikhl.github.io/gretty-doc/

All Gretty releases are also available as maven artifacts at jcenter and maven central.

Powerful feature in Gretty 0.0.24 – full support of Spring Boot 1.1.0

Today is a wonderful day: Spring Boot 1.1.0 was released and I released Gretty version 0.0.24.

Gretty is a feature-rich gradle plugin for running web-apps on Jetty. It supports multiple Jetty versions (7, 8 and 9), multiple web-apps and many more. It wraps Jetty functions as convenient Gradle tasks and configuration DSL. A complete list of Gretty features is available in feature overview.

There is new powerful feature in Gretty 0.0.24: it supports running Spring Boot web-apps out-of-the-box. All Gretty features, including (but not limited to) debugging, code coverage and integration tests, also apply to spring-boot web-apps.

Simplest Gretty setup with Spring Boot:


buildscript {
ext {
springBootVersion = '1.1.0.RELEASE'
}
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath "org.springframework.boot:spring-boot-loader-tools:${springBootVersion}"
classpath "org.springframework.boot:spring-boot-dependency-tools:${springBootVersion}"
classpath 'org.akhikhl.gretty:gretty-spring-boot-plugin:0.0.24'
}
}
apply plugin: 'java'
apply plugin: 'gretty-spring-boot'

view raw

build.gradle

hosted with ❤ by GitHub

You get Gretty as maven artifacts at jcenter and maven central under the group “org.akhikhl.gretty”.

Full Gretty sources and examples are available at https://github.com/akhikhl/gretty

Full Gretty documentation is available at http://akhikhl.github.io/gretty-doc/