Bump to Java 17, Spring 2.6
This commit is contained in:
parent
249ce77323
commit
320766a0b1
@ -1,9 +1,7 @@
|
||||
image: ubuntu/focal
|
||||
image: ubuntu/21.10
|
||||
packages:
|
||||
- adoptopenjdk-11-hotspot-jre
|
||||
- openjdk-17-jdk
|
||||
- maven
|
||||
repositories:
|
||||
adoptopenjdk: https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ focal main 8AC3B29174885C03
|
||||
sources:
|
||||
- https://git.sr.ht/~crg/lingo
|
||||
artifacts:
|
||||
|
@ -13,7 +13,7 @@ A word guessing game based on the [game show](https://en.wikipedia.org/wiki/Ling
|
||||
|
||||
#### JavaFX client
|
||||
|
||||
- Requirements: Java 11, Maven 3
|
||||
- Requirements: Java 17, Maven 3
|
||||
- Build: `mvn clean install`
|
||||
- Start client: `mvn -f client javafx:run`
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
<name>Lingo :: Client</name>
|
||||
|
||||
<properties>
|
||||
<javafx.version>15.0.1</javafx.version>
|
||||
<javafx.version>17.0.1</javafx.version>
|
||||
<lingo.url>https://lingo.gould.dev</lingo.url>
|
||||
</properties>
|
||||
|
||||
@ -52,23 +52,14 @@
|
||||
<plugin>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>0.0.5</version>
|
||||
<version>0.0.8</version>
|
||||
<configuration>
|
||||
<mainClass>dev.gould.lingo.client.bootstrap.LingoClient</mainClass>
|
||||
<mainClass>dev.gould.lingo.client/dev.gould.lingo.client.bootstrap.LingoClient</mainClass>
|
||||
<options>
|
||||
<option>-Dlingo.url=${lingo.url}</option>
|
||||
</options>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<configuration>
|
||||
<mainClass>dev.gould.lingo.client.bootstrap.LingoClient</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
4
pom.xml
4
pom.xml
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.4.4</version>
|
||||
<version>2.6.2</version>
|
||||
</parent>
|
||||
|
||||
<groupId>dev.gould</groupId>
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>11</java.version>
|
||||
<java.version>17</java.version>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
|
@ -45,17 +45,18 @@
|
||||
<plugin>
|
||||
<groupId>com.google.cloud.tools</groupId>
|
||||
<artifactId>jib-maven-plugin</artifactId>
|
||||
<version>2.8.0</version>
|
||||
<version>3.1.4</version>
|
||||
<configuration>
|
||||
<!-- Enable this setting to allow pushes to local Docker registry -->
|
||||
<!--<allowInsecureRegistries>true</allowInsecureRegistries>-->
|
||||
<from>
|
||||
<image>adoptopenjdk:11-jre-hotspot</image>
|
||||
<image>eclipse-temurin:17-jre</image>
|
||||
</from>
|
||||
<to>
|
||||
<image>docker.io/charego/lingo</image>
|
||||
</to>
|
||||
<container>
|
||||
<mainClass>dev.gould.lingo.server.LingoServer</mainClass>
|
||||
<ports>
|
||||
<port>8080</port>
|
||||
</ports>
|
||||
|
@ -1 +1 @@
|
||||
java.runtime.version=11
|
||||
java.runtime.version=17
|
||||
|
Loading…
x
Reference in New Issue
Block a user