From 86248c511a667f07805d6234461405dce568ac93 Mon Sep 17 00:00:00 2001 From: Roman Tsypuk Date: Fri, 15 Dec 2017 23:23:42 +0200 Subject: [PATCH] updated gitignore --- .gitignore | 20 +-------------- .idea/compiler.xml | 23 +++++------------ ...ynchttpclient_async_http_client_2_0_18.xml | 25 +++++++++++-------- .idea/modules.xml | 7 +++++- .idea/vcs.xml | 1 + build.gradle | 14 ++++++++++- sdrtrunk.iml | 25 ------------------- 7 files changed, 42 insertions(+), 73 deletions(-) delete mode 100644 sdrtrunk.iml diff --git a/.gitignore b/.gitignore index 40f566ac..9f7d3356 100644 --- a/.gitignore +++ b/.gitignore @@ -7,25 +7,7 @@ ### JetBrains template # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff: -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/dictionaries - -# Sensitive or high-churn files: -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.xml -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml - -# Gradle: -.idea/**/gradle.xml -.idea/**/libraries - +.idea/ # CMake cmake-build-debug/ diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 96cc43ef..97019c31 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,22 +1,11 @@ - - - - - - - - - - - - - - - - - + + + + + + \ No newline at end of file diff --git a/.idea/libraries/org_asynchttpclient_async_http_client_2_0_18.xml b/.idea/libraries/org_asynchttpclient_async_http_client_2_0_18.xml index 884ea3f9..ecde2784 100644 --- a/.idea/libraries/org_asynchttpclient_async_http_client_2_0_18.xml +++ b/.idea/libraries/org_asynchttpclient_async_http_client_2_0_18.xml @@ -2,17 +2,22 @@ - + + + + + + + + + + + + + + - - - - - - - - - + diff --git a/.idea/modules.xml b/.idea/modules.xml index 071dc2cc..e370b972 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,12 @@ - + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1ddf..83067447 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/build.gradle b/build.gradle index bc356e76..89b4b3fc 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,8 @@ buildscript { // classpath 'me.champeau.gradle:antlr4-gradle-plugin:0.1' } } +apply plugin:'application' +mainClassName = "gui.SDRTrunk" apply plugin: 'java' apply plugin: 'idea' @@ -34,9 +36,19 @@ dependencies { testCompile 'junit:junit:4.12' testCompile 'org.assertj:assertj-core:3.8.0' compile fileTree(dir: 'imports', include: '*.jar') - compile 'org.apache.commons:commons-lang3:3.7' + compile 'org.apache.commons:commons-lang3:3.2.1' + compile 'org.usb4java:libusb4java:1.2.0' } task wrapper(type: Wrapper) { gradleVersion = '4.3.1' +} + +jar { + manifest { + attributes( + 'Class-Path': configurations.compile.collect { it.getName() }.join(' '), + 'Main-Class': 'gui.SDRTrunk' + ) + } } \ No newline at end of file diff --git a/sdrtrunk.iml b/sdrtrunk.iml deleted file mode 100644 index 04cc0636..00000000 --- a/sdrtrunk.iml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file