Distributable JAR build
- connection manager should now be rock stable - does try to create new connections as long as there are less than eight active connections, which might result in more than eight outgoing connections, but this shouldn't be a problem - some minor improvements and bug fixes
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
apply plugin: 'java'
|
||||
plugins {
|
||||
id "us.kirchmeier.capsule" version "1.0-rc1"
|
||||
}
|
||||
|
||||
task fatCapsule(type: FatCapsule) {
|
||||
applicationClass 'ch.dissem.bitmessage.demo.Main'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
version = '0.0.1'
|
||||
|
@ -20,8 +20,11 @@ import java.io.IOException;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) throws IOException {
|
||||
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "DEBUG");
|
||||
System.setProperty("org.slf4j.simpleLogger.logFile", "./jabit.log");
|
||||
if (System.getProperty("org.slf4j.simpleLogger.defaultLogLevel") == null)
|
||||
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "ERROR");
|
||||
if (System.getProperty("org.slf4j.simpleLogger.logFile") == null)
|
||||
System.setProperty("org.slf4j.simpleLogger.logFile", "./jabit.log");
|
||||
|
||||
new Application();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user