Skip to content

Commit

Permalink
build.gradle - macos native jars fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gubatron committed Jan 6, 2022
1 parent 326bcb0 commit ab26d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ task nativeMacOSArm64Jar(type: Zip) {
destinationDirectory = file("$buildDir/libs")
archiveBaseName = 'jlibtorrent-macosx-arm64'
archiveExtension = 'jar'
from fileTree(dir: 'swig/bin/release/macosx', excludes: ['**/ed25519', '**/src'], include: 'arm64/*libjlibtorrent.dylib')
from fileTree(dir: 'swig/bin/release/macosx', excludes: ['**/ed25519', '**/src'], include: 'arm64/*libjlibtorrent.arm64.dylib')
into 'lib/'
rename(".dylib", "-${version}.dylib")
}
Expand All @@ -64,7 +64,7 @@ task nativeMacOSX86_64Jar(type: Zip) {
destinationDirectory = file("$buildDir/libs")
archiveBaseName = 'jlibtorrent-macosx-x86_64'
archiveExtension = 'jar'
from fileTree(dir: 'swig/bin/release/macosx', excludes: ['**/ed25519', '**/src'], include: 'x86_64/*libjlibtorrent.dylib')
from fileTree(dir: 'swig/bin/release/macosx', excludes: ['**/ed25519', '**/src'], include: 'x86_64/*libjlibtorrent.x86_64.dylib')
into 'lib/'
rename(".dylib", "-${version}.dylib")
}
Expand Down

0 comments on commit ab26d43

Please sign in to comment.