Skip to content

Commit 3ea2e52

Browse files
committed
add Gradle application plugin and set mainClass for it
1 parent 37417d0 commit 3ea2e52

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
plugins {
2-
id("java")
2+
java
3+
application
34
}
45

56
group = "hexlet.code"
67
version = "1.0-SNAPSHOT"
78

9+
application {
10+
mainClass = "hexlet.code.App"
11+
}
12+
813
repositories {
914
mavenCentral()
1015
}

0 commit comments

Comments
 (0)