From 65d8a40a51bb644e1a794d58c5c1370b509b592f Mon Sep 17 00:00:00 2001 From: DmitriyMX Date: Mon, 21 Sep 2015 09:57:41 +0300 Subject: [PATCH] gradle: remove natives unpacker --- build.gradle | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/build.gradle b/build.gradle index a30a2aa..1a06a8e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,4 @@ -buildscript { - repositories { maven { url "https://plugins.gradle.org/m2/" } } - dependencies { classpath "gradle.plugin.com.stehno:gradle-natives:0.2.3" } -} - apply plugin: 'java' -apply plugin: 'com.stehno.natives' apply plugin: 'idea' apply plugin: 'eclipse' @@ -25,20 +19,3 @@ sourceSets { resources.srcDirs = ['src/resources'] } } - -import org.gradle.internal.os.OperatingSystem; -natives { - jars = [ - 'lwjgl-platform-'+lwjgl_ver+'-natives-windows', - 'lwjgl-platform-'+lwjgl_ver+'-natives-osx', - 'lwjgl-platform-'+lwjgl_ver+'-natives-linux', - ] - - if (OperatingSystem.current().isWindows()) { - platforms = 'windows' - } else if (OperatingSystem.current().isMacOsX()) { - platforms = 'osx' - } else if (OperatingSystem.current().isLinux()) { - platforms = 'linux' - } -}