Gradle 8.0 deprecation fix (#60)
Switched to the new method of setting the main class.
This commit is contained in:
parent
5b3955d81a
commit
68e75010fd
@ -2,7 +2,7 @@ apply plugin: 'java'
|
||||
apply plugin: 'application'
|
||||
|
||||
application {
|
||||
mainClassName = 'example.OpenAiApiExample'
|
||||
mainClass.set('example.OpenAiApiExample')
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
Loading…
x
Reference in New Issue
Block a user