File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
src/main/scala/org/acme/persistence/hibernate Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ repositories {
1616def VERSIONS = [
1717 QUARKUS : " 3.17.4" ,
1818 QUARKUS_SCALA3 : " 1.0.0" ,
19- SCALA3 : " 3.5 .2" ,
19+ SCALA3 : " 3.6 .2" ,
2020 MAGNUM : " 1.3.1" ,
2121 STTP : " 3.10.1" ,
2222 ZIO : " 2.1.13" ,
Original file line number Diff line number Diff line change 1515 <quarkus .platform.group-id>io.quarkus.platform</quarkus .platform.group-id>
1616 <quarkus .platform.version>3.17.3</quarkus .platform.version>
1717 <scala-maven-plugin .version>4.9.2</scala-maven-plugin .version>
18- <scala .version>3.5.2</scala .version>
18+ <scalafmt-plugin .version>1.1.1713302731.c3d0074</scalafmt-plugin .version>
19+ <scalafix-plugin .version>0.1.9_0.12.1</scalafix-plugin .version>
20+ <scala .version>3.6.2</scala .version>
1921 <skipITs >true</skipITs >
2022 <surefire-plugin .version>3.5.2</surefire-plugin .version>
2123 <sonar .organization>carlosedp</sonar .organization>
268270 <plugin >
269271 <groupId >org.antipathy</groupId >
270272 <artifactId >mvn-scalafmt_2.13</artifactId >
271- <version >1.1.1713302731.c3d0074 </version >
273+ <version >${scalafmt-plugin.version} </version >
272274 <configuration >
273275 <configLocation >${project.basedir} /.scalafmt.conf</configLocation >
274276 </configuration >
283285 </execution>
284286 </executions> -->
285287 </plugin >
288+ <plugin >
289+ <groupId >io.github.evis</groupId >
290+ <artifactId >scalafix-maven-plugin_2.13</artifactId >
291+ <version >${scalafix-plugin.version} </version >
292+ </plugin >
286293 <plugin >
287294 <groupId >org.codehaus.mojo</groupId >
288295 <artifactId >exec-maven-plugin</artifactId >
289296 <version >3.5.0</version >
290297 </plugin >
291- <plugin >
292- <groupId >io.github.evis</groupId >
293- <artifactId >scalafix-maven-plugin_2.13</artifactId >
294- <version >0.1.9_0.12.1</version >
295- </plugin >
296298 </plugins >
297299 </build >
300+
298301 <profiles >
299302 <profile >
300303 <id >native</id >
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import jakarta.persistence.*
77@ Entity
88@ Table (name = " tasks" )
99class Task :
10- @ Id @ GeneratedValue (GenerationType .IDENTITY ) var id : Long = uninitialized
11- var title : String = uninitialized
12- var description : String = uninitialized
13- var done : Boolean = uninitialized
10+ @ Id @ GeneratedValue (strategy = GenerationType .IDENTITY ) var id : Long = uninitialized
11+ var title : String = uninitialized
12+ var description : String = uninitialized
13+ var done : Boolean = uninitialized
1414
1515object Task :
1616 def apply (command : TaskCreateCommand ): Task =
You can’t perform that action at this time.
0 commit comments