Skip to content

Commit 1f62543

Browse files
committed
Second add build.gradle.kts and App.java
1 parent 045d86e commit 1f62543

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33
id("application")
44
id("se.patrikerdes.use-latest-versions") version "0.2.19"
55
id("com.github.ben-manes.versions") version "0.53.0"
6+
id("com.diffplug.spotless") version "7.2.1"
67
}
78

89
group = "hexlet.code"
@@ -23,11 +24,10 @@ dependencies {
2324
testImplementation("org.junit.jupiter:junit-jupiter")
2425
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
2526
implementation("org.apache.commons:commons-lang3:3.19.0")
27+
implementation("org.hibernate.orm:hibernate-core:6.6.0.Final")
2628
}
2729

28-
application {
29-
mainClass.set("hexlet.code.App")
30-
}
30+
application { mainClass.set("hexlet.code.App") }
3131

3232
tasks.test {
3333
useJUnitPlatform()

app/src/main/java/hexlet/code/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
public class App {
44
public static void main(String[] args) {
5-
System.out.println("Hello World!");
5+
System.out.println("Welcome to the Brain Games!");
66
}
77
}

0 commit comments

Comments
 (0)