Gradle 8.0 deprecation fix (#60)

Switched to the new method of setting the main class.
This commit is contained in:
Theo Kanning 2023-01-02 15:40:27 -06:00 committed by GitHub
parent 5b3955d81a
commit 68e75010fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'application' apply plugin: 'application'
application { application {
mainClassName = 'example.OpenAiApiExample' mainClass.set('example.OpenAiApiExample')
} }
dependencies { dependencies {