Skip to content

Commit

Permalink
Gradle 8.0 deprecation fix (TheoKanning#60)
Browse files Browse the repository at this point in the history
Switched to the new method of setting the main class.
  • Loading branch information
TheoKanning authored Jan 2, 2023
1 parent 5b3955d commit 68e7501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'application'

application {
mainClassName = 'example.OpenAiApiExample'
mainClass.set('example.OpenAiApiExample')
}

dependencies {
Expand Down

0 comments on commit 68e7501

Please sign in to comment.