mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-09 15:17:24 -05:00
ant to gradle. Removes linux and windows application launch scripts and produces an executable jar with all resources included.
2.1 KiB
2.1 KiB
sdrtrunk
A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR).
Figure 1: sdrtrunk Version 0.3.0 Application Screenshot
Instructions:
Build the project
Project uses gradle as build system. You can build it with locally installed gradle or if you do not have/want install gradle you can use preconfigured linux/windows wrapper.
Build with locally installed gradle 4.3.1
gradle clean buildSdr
Build with preconfigured wrapper for linux/windows
Linux
./gradlew clean buildSdr
Windows
gradle.bat clean buildSdr
This would add gradle, download all project dependencies and build JAR
Development
All dependencies/versions are controlled from build.gradle. To change the new release version tag of artifact - change property:
version = '0.3.2'
Run SDRTrunk
SDRTrunk is packed into single uber-jar file. There is need to have folders with dependecies and adding them with classpath. Just run with java.
Use Java8
java -jar build/libs/sdr-trunk-all-0.3.2.jar
TODO ITEMS
- Move project to gradle build
- Changed folders structure, based on java project
- Dependencies are moved to gradle and versions are updated
- Create uberJAR with all dependencies
- Some dependencies left in imports folder. Find them and include into gradle
- Move images into resources of project
- Add tests to project. This would guarantee that after refactoring part of functionality is not broken
- Create modular OOP system (radio-module, gui, web-ui, etc). This would allow to use RADIO modules to call from CLI, GUI or Web UI. And use SDRTrunk as dependency for other projects.