Skip to content

Commit

Permalink
Update to Micronaut 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasschaefer committed May 7, 2021
1 parent 0208dbe commit 240b74c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,13 +717,17 @@ See also a test in our example application: [HelloWorldProcessTest](/micronaut-c

When using Gradle we recommend the [Micronaut Application Plugin](https://github.com/micronaut-projects/micronaut-gradle-plugin/blob/master/README.md#micronaut-application-plugin)'s `dockerBuild` task to create a layered Docker image.

Jetty by default only listens on the "localhost" interface. Therefore, you need to configure it to listen on all interfaces by adding the following to your `build.gradle`:
<details>
<summary>Workaround for Jetty on Micronaut 2.4.x</summary>

In Micronaut 2.4.x Jetty by default only listened on the "localhost" interface - this has been fixed in Micronaut 2.5.x. For Micronaut 2.4.x you needed to configure Jetty to listen on all interfaces by adding the following to your `build.gradle`:

```groovy
dockerfile {
args.set(['-Dmicronaut.server.host=0.0.0.0'])
}
```
</details>

Build the Docker image:

Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# The project property 'version' is overwritten via .github/workflows/publish-release.yml
version=0.0.1-SNAPSHOT
kotlinVersion=1.5.0
micronautVersion=2.5.0
micronautVersion=2.5.1
micronautApplicationPluginVersion=1.5.0
micronautLibraryPluginVersion=1.5.0
# The matching versions can be found here:
# Jetty: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-jetty/2.1.2/micronaut-http-server-jetty-2.1.2.pom
# Tomcat: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-tomcat/2.1.2/micronaut-http-server-tomcat-2.1.2.pom
# Undertow: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-undertow/2.1.2/micronaut-http-server-undertow-2.1.2.pom
# Jetty: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-jetty/2.1.4/micronaut-http-server-jetty-2.1.4.pom
# Tomcat: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-tomcat/2.1.4/micronaut-http-server-tomcat-2.1.4.pom
# Undertow: https://repo1.maven.org/maven2/io/micronaut/servlet/micronaut-http-server-undertow/2.1.4/micronaut-http-server-undertow-2.1.4.pom
jettyVersion=9.4.35.v20201120
tomcatVersion=9.0.38
undertowVersion=2.2.3.Final
undertowVersion=2.2.5.Final
camundaVersion=7.15.0
camundaPlatformAssert=10.0.0
# Latest Jersey, that implements JAX-RS 2.1 API: see https://eclipse-ee4j.github.io/jersey/download.html
jerseyVersion=2.33
shadowJarVersion=6.1.0
shadowJarVersion=7.0.0
# Prevent upload of maven-metadata.xml.sha256/sha512 files to oss.sonatype.org
# see https://issues.sonatype.org/browse/OSSRH-53695?focusedCommentId=887733&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-887733
# see https://github.com/gradle/gradle/issues/11308#issuecomment-554317655
Expand Down

0 comments on commit 240b74c

Please sign in to comment.