From a15a8c0ee9a14b30edf6650dd0743e8dbfeee9c2 Mon Sep 17 00:00:00 2001 From: richie Date: Tue, 2 Jun 2020 19:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E7=82=B9=E5=B0=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d8266ef..3172420 100644 --- a/build.gradle +++ b/build.gradle @@ -25,12 +25,12 @@ task install(type: Copy) { from configurations.runtimeClasspath } -def isWindows() { +static def isWindows() { return org.gradle.internal.os.OperatingSystem.current().isWindows() } dependencies { - compile files("${System.getProperty('java.home')}/../lib/tools.jar") + implementation files("${System.getProperty('java.home')}/../lib/tools.jar") implementation 'com.fr.third:fine-third:' + fineVersion implementation 'com.fr.activator:fine-activator:' + fineVersion implementation 'com.fr.core:fine-core:' + fineVersion