mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
exclude some native libs from the jar
This commit is contained in:
parent
a4190cba62
commit
022cd11587
25
build.gradle
25
build.gradle
@ -45,5 +45,30 @@ task linux64(type: Jar) {
|
||||
}
|
||||
baseName = project.name + '-linux64'
|
||||
from { (configurations.compile + files('lib/swt-linux64.jar')).collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
exclude(
|
||||
'version.txt',
|
||||
'images/**/*.svg',
|
||||
'chrome.manifest',
|
||||
'swt.js',
|
||||
'swt.xpt',
|
||||
// GTK stuff
|
||||
'libswt-awt-gtk-*.so',
|
||||
'libswt-glx-gtk-*.so',
|
||||
'libswt-mozilla-*.so',
|
||||
'libswt-gnome-*.so',
|
||||
'libswt-xpcominit-gtk-*.so',
|
||||
'libswt-xulrunner-*.so',
|
||||
'libswt-webkit-gtk-*.so',
|
||||
// Win32 stuff
|
||||
'swt-awt-*.dll',
|
||||
'swt-wgl-*.dll',
|
||||
'swt-gdip-*.dll',
|
||||
'swt-xpcominit-*.dll',
|
||||
'swt-xulrunner-*.dll',
|
||||
'swt-webkit-*.dll',
|
||||
// Mac stuff
|
||||
'libswt-awt-*.jnilib',
|
||||
'libswt-xulrunner-*.jnilib'
|
||||
)
|
||||
with jar
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user