From 52ab96a4e9c012feb1e708f708e8e8174ed6a475 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 1 Jun 2023 19:44:25 +0100 Subject: [PATCH] Remove --enable-preview from gradle compile task. --- build.gradle | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.gradle b/build.gradle index df74949..69bd3ff 100644 --- a/build.gradle +++ b/build.gradle @@ -56,10 +56,6 @@ jar { } } -tasks.withType(JavaCompile).each { - it.options.compilerArgs.add('--enable-preview') -} - group = 'me.kavin.piped' version = '1.0' sourceCompatibility = JavaVersion.VERSION_17