Changeset View
Changeset View
Standalone View
Standalone View
files/fix-build-gradle.patch
- This file was added.
| diff --git a/build.gradle b/build.gradle | |||||
| index 4d6067c5..6ddfb425 100644 | |||||
| --- a/build.gradle | |||||
| +++ b/build.gradle | |||||
| @@ -9,7 +9,6 @@ buildscript { | |||||
| plugins { | |||||
| id "java" | |||||
| - id "com.palantir.git-version" version "0.12.2" | |||||
| } | |||||
| def osName = System.getProperty("os.name") | |||||
| @@ -18,7 +17,7 @@ def platform = osName.contains("Linux") ? 'linux' + (is64 ? '64' : '') : | |||||
| osName.contains("Windows") ? 'win' + (is64 ? '64' : '32') : | |||||
| osName.contains("OS X") ? 'mac' : 'unknown' | |||||
| -version = gitVersion() | |||||
| +version = ipscanVersion | |||||
| sourceCompatibility = 1.8 | |||||
| targetCompatibility = 1.8 | |||||
| @@ -99,10 +98,7 @@ def packageTask(String platform, def moreJars = [], def moreLibs = [], Closure d | |||||
| ) | |||||
| with jar | |||||
| - if (platform != "any") | |||||
| - finalizedBy minimizeTask(platform, doMore) | |||||
| - else | |||||
| - doLast(doMore) | |||||
| + doLast(doMore) | |||||
| } | |||||
| } | |||||
| @@ -193,12 +189,12 @@ def rpm(def platform, def arch) { | |||||
| } | |||||
| packageTask('linux64', [], 'ext/rocksaw/lib/linux64/librocksaw.so') { | |||||
| - deb('linux64', 'amd64') | |||||
| - rpm('linux64', 'x86_64') | |||||
| + // deb('linux64', 'amd64') | |||||
| + // rpm('linux64', 'x86_64') | |||||
| } | |||||
| packageTask('any') { | |||||
| - deb('any', 'all', 'libswt-gtk-4-java, libswt-cairo-gtk-4-jni,') | |||||
| + // deb('any', 'all', 'libswt-gtk-4-java, libswt-cairo-gtk-4-jni,') | |||||
| } | |||||
| packageTask('win32', 'lib/jna-win32.jar', 'ext/rocksaw/lib/rocksaw.dll') { | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.