Andrey Hihlovskiy
Professional blog on groovy, gradle, Java, Javascript and other stuff.
Tag Archives: web
Powerful feature in Gretty 0.0.24 – full support of Spring Boot 1.1.0
June 11, 2014
Posted by on 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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
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/
Gretty version 0.0.16 is out!
May 13, 2014
Posted by on I release Gretty (gradle plugin for jetty) version 0.0.16!
New:
- redesigned tasks as two classes: GrettyStartTask and GrettyServiceTask.
- moved documentation from README.md to wiki pages.
- drawn beautiful state diagrams for all Gretty tasks.
Sources and documentation at https://github.com/akhikhl/gretty.
Also available on jcenter & maven central!
Gretty version 0.0.15 is out!
April 4, 2014
Posted by on I release Gretty (gradle plugin for jetty) version 0.0.15!
New: fast-reload of webapp-resources, jdk8-compatibility.
Sources and documentation at https://github.com/akhikhl/gretty.
Also available on jcenter & maven central!
Gretty 0.0.14 is out!
March 24, 2014
Posted by on Hello there,
Gretty version 0.0.14 is out – on github, on maven central and jcenter!
What’s new: now Gretty supports jvmArgs parameter in plugin extension. See more information in what’s new section of the documentation.
Gretty is a feature-rich Gradle plugin, designed for running Web-Applications on Jetty. See more information in main features section of the documentation.
Many thanks to Justin Munn for contribution!
Gitbucket – your own github-like web-application without a hassle
January 25, 2014
Posted by on Meet gitbucket – your own github-like web-application, requiring minimum configuration:
https://github.com/takezoe/gitbucket
Features:
- out-of-the-box HTTP access to git repositories (in browser and from command line)
- web-based user management
- web-based repository management
- issue management, pull-requests, wiki, etc.
Not yet implemented features:
- out-of-the-box SSH support (or integration with SSH-supporting solutions like gitolite)
- online editing
My impression: this is very interesting application that I will certainly use as soon as missing features get implemented.
Meet Gretty: advanced gradle plugin for running web-applications under Jetty and Tomcat
June 14, 2013
Posted by on I created little gradle plugin for running web-applications under Jetty 8.1.8.
The main advantage for a programmer is that now it’s possible to use servlet-api 3.0 and higher (under standard gradle-jetty plugin it was not possible, because jetty was too old).
Full sources, documentation and examples here:
https://github.com/akhikhl/gretty
Update 24.02.2014:
Now gretty supports jetty 7, 8 and 9 and servlet API 2.5, 3.0.1 and 3.1.0, as well as it brings many new interesting features!
Update 07.10.2014
Now Gretty supports Tomcat 7 and 8, as well as SpringBoot, spring-reloaded and jacoco!
Recent Comments