Comments (5)
Unfortunately not, at some point there was a script but was removed a long time ago. We have plans to put this in maven.
from frostwire-jlibtorrent.
I need to write the gradle script by myself or find it in the git history to build the jar file since there is no binary release?
from frostwire-jlibtorrent.
You can look in the history, but I rather recommend you write a simple gradle script from scratch.
from frostwire-jlibtorrent.
Thanks for your reply, i have managed to create the jar file, and all works fine on android/mac ox yosemite.
/*
Usage:
gradle build - builds code and creates a single jar in build/libs/frostwire-jlibtorrent.jar
gradle clean - cleans the build.
gradle tasks - shows available tasks.
*/
apply plugin: 'java'
if (!System.getenv('ANT_HOME')?.trim()) {
throw new GradleException("ERROR: ANT_HOME environment variable not set.\n\n(e.g. on MacOSX: /usr/local/Cellar/ant/1.9.3/libexec\n on Linux: /usr/share/ant)")
}
sourceCompatibility = 1.7
sourceSets {
main {
java {
srcDir '../src'
}
}
}
jar {
archiveName='frostwire-jlibtorrent.jar'
exclude('META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.MF')
}
Steps to generate this file
git checkout $(git rev-list -n 1 HEAD -- build/build.gradle)^ -- build/build.gradle
modify the path from java/src
to ../src
from frostwire-jlibtorrent.
Thank you, I probably take this as a starting point.
from frostwire-jlibtorrent.
Related Issues (20)
- version mismatch HOT 22
- Force recheck crashing for finished torrent HOT 4
- No implementation found for void com.frostwire.jlibtorrent.swig.libtorrent_jni.swig_module_init() HOT 1
- Adding a download with changed priorities doesn't recognize the new priorities if download was finished earlier. HOT 9
- Downloads are not compatible HOT 4
- Download issues in Samsung Galaxy devices HOT 9
- How to Compile in embedded system, the platform is arm32. HOT 1
- [desktop] Calling SessionManager stop() takes forever after torrent is finished HOT 8
- dhtNodes Always 0 HOT 26
- Docker script Q&A HOT 5
- Error in Vectors.byte_vector2string
- sessionManager.stats().dhtNodes() always 0 HOT 4
- How to merge libraries into one? HOT 2
- Pure virtual function called! On Android 10+ [Using version 1.2.16.0] HOT 1
- Upgrading to libtorrent 2.0, it's time. HOT 1
- Low memory bug HOT 3
- Is it possible use your libtorrent.i wrap a c# version? HOT 11
- native crash HOT 1
- Debugging libtorrent crash on Android HOT 3
- iOS compatibility? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frostwire-jlibtorrent.