From 28d24aa03e59c190dc19f97f9276754badebae03 Mon Sep 17 00:00:00 2001 From: Andrey Hihlovskiy Date: Tue, 20 Jun 2017 23:47:46 -0700 Subject: [PATCH] release 2.0.0 --- README.md | 25 ++++++++++++++++++------- changes.md | 16 ++++++++++++++++ gradle.properties | 2 +- pluginScripts/gretty-2.0.0.plugin | 16 ++++++++++++++++ pluginScripts/gretty-SNAPSHOT.plugin | 2 +- pluginScripts/gretty.plugin | 2 +- 6 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 pluginScripts/gretty-2.0.0.plugin diff --git a/README.md b/README.md index c38387f02..489e8b6da 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Build Status](http://img.shields.io/travis/akhikhl/gretty.svg)](https://travis-ci.org/akhikhl/gretty) ![Maintenance Status](http://img.shields.io/maintenance/yes/2017.svg) -[![Latest release](http://img.shields.io/badge/release-1.4.2-47b31f.svg)](https://github.com/akhikhl/gretty/tags/v1.4.2) -[![Snapshot](http://img.shields.io/badge/current-1.4.3--SNAPSHOT-47b31f.svg)](https://github.com/akhikhl/gretty/tree/master) +[![Latest release](http://img.shields.io/badge/release-2.0.0-47b31f.svg)](https://github.com/akhikhl/gretty/tags/v2.0.0) +[![Snapshot](http://img.shields.io/badge/current-2.0.1--SNAPSHOT-47b31f.svg)](https://github.com/akhikhl/gretty/tree/master) [![License](http://img.shields.io/badge/license-MIT-47b31f.svg)](#copyright-and-license) Gretty is a feature-rich gradle plugin for running web-apps on embedded servlet containers. @@ -20,13 +20,24 @@ If you are new with Gretty, try [getting started](http://akhikhl.github.io/grett #### :star: What's new -March 13, 2017, Gretty 1.4.2 is out and immediately available at [Bintray](https://bintray.com/akhikhl/maven/gretty/view) and [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.akhikhl.gretty%22). +June 20, 2017, Gretty 2.0.0 is out and immediately available at [Bintray](https://bintray.com/akhikhl/maven/gretty/view) and [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.akhikhl.gretty%22). * Changes in this version: -* Compatibility with Gradle 3.4.1 +* Compatibility with Gradle 4.0 -* Issues #326, #329 were resolved. +* Support of Jetty 9.4 (issue #365). + +* Now it's possible to override versions of Jetty, Tomcat and servlet API via properties in "gradle.properties" file (issue #330). + See more information in chapter [overriding servlet container versions](http://akhikhl.github.io/gretty-doc/Overriding-servlet-container-versions.html) in the documentation. + +* All integration tests now run against Firefox 54. + +* Fixed product generation. + +* Support of Spring Framework 4.3.9 and Spring Boot 1.5.4. + +* Dropped support of Java 6. See also: [complete list of changes](changes.md) for more information. @@ -36,9 +47,9 @@ You can learn about all Gretty features in [online documentation](http://akhikhl #### System requirements -Gretty requires JDK7 or JDK8 and Gradle 1.10 or newer (Gradle 3.3 is highly recommended!). +Gretty requires JDK7 or JDK8 and Gradle 1.10 or newer (Gradle 4.0 is highly recommended!). -Gretty also works on JDK6, although Jetty support is limited to versions 7 and 8 in this case. This is due to the fact that Jetty 9 was compiled against JDK7 and it's bytecode is not compatible with JDK6. +Since version 2.0.0 Gretty no longer supports JDK6. #### Availability diff --git a/changes.md b/changes.md index 996e966a9..71f06b282 100644 --- a/changes.md +++ b/changes.md @@ -2,6 +2,22 @@ [![logo](http://akhikhl.github.io/gretty-doc/images/gretty_logo.png "gretty logo")](https://github.com/akhikhl/gretty) +### Version 2.0.0 + +* Compatibility with Gradle 4.0 + +* Support of Jetty 9.4 (issue #365). + +* Now it's possible to override versions of Jetty, Tomcat and servlet API via properties in "gradle.properties" file (issue #330). + +* All integration tests now run against Firefox 54. + +* Fixed product generation. + +* Support of Spring Framework 4.3.9 and Spring Boot 1.5.4. + +* Dropped support of Java 6. + ### Version 1.4.2 * Now Gretty is compatible with Gradle versions from 2.14.1 to 3.4.1 diff --git a/gradle.properties b/gradle.properties index 9228abed1..2ed1fc2fe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ developerId=akhikhl developerName=Andrey Hihlovskiy license=The MIT License group=org.akhikhl.gretty -version=2.0.0-SNAPSHOT +version=2.0.0 jetty7_version=7.6.16.v20140903 jetty7_servlet_api_version=2.5 # Cannot upgrade to Jetty 8.1.15 or newer until issue #159 is resolved. diff --git a/pluginScripts/gretty-2.0.0.plugin b/pluginScripts/gretty-2.0.0.plugin new file mode 100644 index 000000000..5d865c45f --- /dev/null +++ b/pluginScripts/gretty-2.0.0.plugin @@ -0,0 +1,16 @@ +buildscript { + repositories { + jcenter() + } + + dependencies { + classpath 'org.akhikhl.gretty:gretty:2.0.0' + } +} + +repositories { + jcenter() +} + +if (!project.plugins.findPlugin(org.akhikhl.gretty.GrettyPlugin)) + project.apply(plugin: org.akhikhl.gretty.GrettyPlugin) diff --git a/pluginScripts/gretty-SNAPSHOT.plugin b/pluginScripts/gretty-SNAPSHOT.plugin index 46b06d683..8f07575df 100644 --- a/pluginScripts/gretty-SNAPSHOT.plugin +++ b/pluginScripts/gretty-SNAPSHOT.plugin @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'org.akhikhl.gretty:gretty:1.4.2-SNAPSHOT' + classpath 'org.akhikhl.gretty:gretty:2.0.1-SNAPSHOT' } } diff --git a/pluginScripts/gretty.plugin b/pluginScripts/gretty.plugin index ed6abbb91..5d865c45f 100644 --- a/pluginScripts/gretty.plugin +++ b/pluginScripts/gretty.plugin @@ -4,7 +4,7 @@ buildscript { } dependencies { - classpath 'org.akhikhl.gretty:gretty:1.4.2' + classpath 'org.akhikhl.gretty:gretty:2.0.0' } }