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'
|
apply plugin: 'application'
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClassName = 'example.OpenAiApiExample'
|
mainClass.set('example.OpenAiApiExample')
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user