Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit 3e2e7e1

Browse files
committed
Kotlin
1 parent 11fb6a7 commit 3e2e7e1

File tree

10 files changed

+118
-59
lines changed

10 files changed

+118
-59
lines changed

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

pom.xml

Lines changed: 80 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,91 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<modelVersion>4.0.0</modelVersion>
56

7+
<artifactId>Eval_RGI_2023_Client2</artifactId>
68
<groupId>fr.UPJV.Eval_RGI_2023_Client</groupId>
7-
<artifactId>Eval_RGI_2023_Client</artifactId>
89
<version>1.0-SNAPSHOT</version>
10+
<packaging>jar</packaging>
11+
12+
<name>consoleApp</name>
913

1014
<properties>
11-
<maven.compiler.source>18</maven.compiler.source>
12-
<maven.compiler.target>18</maven.compiler.target>
1315
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<kotlin.code.style>official</kotlin.code.style>
17+
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
1418
</properties>
1519

20+
<repositories>
21+
<repository>
22+
<id>mavenCentral</id>
23+
<url>https://repo1.maven.org/maven2/</url>
24+
</repository>
25+
</repositories>
26+
27+
<build>
28+
<sourceDirectory>src/main/kotlin</sourceDirectory>
29+
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
30+
<plugins>
31+
<plugin>
32+
<groupId>org.jetbrains.kotlin</groupId>
33+
<artifactId>kotlin-maven-plugin</artifactId>
34+
<version>1.7.21</version>
35+
<executions>
36+
<execution>
37+
<id>compile</id>
38+
<phase>compile</phase>
39+
<goals>
40+
<goal>compile</goal>
41+
</goals>
42+
</execution>
43+
<execution>
44+
<id>test-compile</id>
45+
<phase>test-compile</phase>
46+
<goals>
47+
<goal>test-compile</goal>
48+
</goals>
49+
</execution>
50+
</executions>
51+
</plugin>
52+
<plugin>
53+
<artifactId>maven-surefire-plugin</artifactId>
54+
<version>2.22.2</version>
55+
</plugin>
56+
<plugin>
57+
<artifactId>maven-failsafe-plugin</artifactId>
58+
<version>2.22.2</version>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.codehaus.mojo</groupId>
62+
<artifactId>exec-maven-plugin</artifactId>
63+
<version>1.6.0</version>
64+
<configuration>
65+
<mainClass>MainKt</mainClass>
66+
</configuration>
67+
</plugin>
68+
</plugins>
69+
</build>
70+
71+
<dependencies>
72+
<dependency>
73+
<groupId>org.jetbrains.kotlin</groupId>
74+
<artifactId>kotlin-test-junit5</artifactId>
75+
<version>1.7.21</version>
76+
<scope>test</scope>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.junit.jupiter</groupId>
80+
<artifactId>junit-jupiter-engine</artifactId>
81+
<version>5.8.2</version>
82+
<scope>test</scope>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.jetbrains.kotlin</groupId>
86+
<artifactId>kotlin-stdlib-jdk8</artifactId>
87+
<version>1.7.21</version>
88+
</dependency>
89+
</dependencies>
90+
1691
</project>

src/main/java/fr/UPJV/Eval_RGI_2023_Client/Main.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/main/kotlin/Main.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fun main(args: Array<String>) {
2+
println("Hello World!")
3+
4+
// Try adding program arguments via Run/Debug configuration.
5+
// Learn more about running applications: https://www.jetbrains.com/help/idea/running-applications.html.
6+
println("Program arguments: ${args.joinToString()}")
7+
}

0 commit comments

Comments
 (0)