gradle: remove natives unpacker
This commit is contained in:
23
build.gradle
23
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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user