From e436e4a89b02906b92c43f09189bbd5e01cb331a Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Aug 2018 01:49:55 +0200 Subject: [PATCH] Code polish --- build.gradle | 4 ++-- scripts/gradle/utilities.gradle | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 3a0fd37..bcf2391 100644 --- a/build.gradle +++ b/build.gradle @@ -49,8 +49,8 @@ repositories { } dependencies { - // utilities only - api project.ext.utilitiesDeps + // utilities dependencies compile only (this is so the IDE can compile the util source) + compileOnly project.ext['utilities'] // api 'com.koloboke:koloboke-api-jdk8:1.0.0' // runtime 'com.koloboke:koloboke-impl-jdk8:1.0.0' diff --git a/scripts/gradle/utilities.gradle b/scripts/gradle/utilities.gradle index 64c0644..794c6ae 100644 --- a/scripts/gradle/utilities.gradle +++ b/scripts/gradle/utilities.gradle @@ -1,8 +1,8 @@ ext { - bcVersion = '1.60' - jnaVersion = '4.5.2' + def bcVersion = '1.60' + def jnaVersion = '4.5.2' - utilitiesDeps = [ + utilities = [ 'org.slf4j:slf4j-api:1.7.25', 'com.github.jponge:lzma-java:1.3',