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