Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 68e7501

Browse files
authored
Gradle 8.0 deprecation fix (#60)
Switched to the new method of setting the main class.
1 parent 5b3955d commit 68e7501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'java'
22
apply plugin: 'application'
33

44
application {
5-
mainClassName = 'example.OpenAiApiExample'
5+
mainClass.set('example.OpenAiApiExample')
66
}
77

88
dependencies {

0 commit comments

Comments
 (0)