From 68e75010fd92ed1526baaff9b3469f88df9e6cee Mon Sep 17 00:00:00 2001 From: Theo Kanning Date: Mon, 2 Jan 2023 15:40:27 -0600 Subject: [PATCH] Gradle 8.0 deprecation fix (#60) Switched to the new method of setting the main class. --- example/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/build.gradle b/example/build.gradle index f7f95e5..0719011 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'java' apply plugin: 'application' application { - mainClassName = 'example.OpenAiApiExample' + mainClass.set('example.OpenAiApiExample') } dependencies {