diff --git a/cli/src/main/groovy/com/muwire/cli/Cli.groovy b/cli/src/main/groovy/com/muwire/cli/Cli.groovy index 74399e4f..44ed2da2 100644 --- a/cli/src/main/groovy/com/muwire/cli/Cli.groovy +++ b/cli/src/main/groovy/com/muwire/cli/Cli.groovy @@ -23,7 +23,7 @@ class Cli { Core core try { - core = new Core(props, home, "0.0.7") + core = new Core(props, home, "0.0.8") } catch (Exception bad) { bad.printStackTrace(System.out) println "Failed to initialize core, exiting" @@ -34,6 +34,9 @@ class Cli { // now we begin println "MuWire is ready" + println "Enter a file containing list of files to share" + def reader = new BufferedReader(new InputStreamReader(System.in)) + def filesList = reader.readLine() Thread.sleep(Integer.MAX_VALUE) } } \ No newline at end of file diff --git a/core/src/main/groovy/com/muwire/core/Core.groovy b/core/src/main/groovy/com/muwire/core/Core.groovy index b5ddb09a..6d604edb 100644 --- a/core/src/main/groovy/com/muwire/core/Core.groovy +++ b/core/src/main/groovy/com/muwire/core/Core.groovy @@ -233,7 +233,7 @@ public class Core { } } - Core core = new Core(props, home, "0.0.7") + Core core = new Core(props, home, "0.0.8") core.startServices() // ... at the end, sleep or execute script diff --git a/gradle.properties b/gradle.properties index 761b56b7..7835e267 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = com.muwire -version = 0.0.7 +version = 0.0.8 groovyVersion = 2.4.15 slf4jVersion = 1.7.25 spockVersion = 1.1-groovy-2.4