mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix path for client.
This commit is contained in:
parent
4560956517
commit
d01e119c12
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ public class KobaltClient @Inject constructor() : Runnable {
|
||||||
try {
|
try {
|
||||||
val socket = Socket("localhost", portNumber)
|
val socket = Socket("localhost", portNumber)
|
||||||
outgoing = PrintWriter(socket.outputStream, true)
|
outgoing = PrintWriter(socket.outputStream, true)
|
||||||
val testBuildfile = Paths.get(SystemProperties.homeDir, "java", "testng", "Build.kt")
|
val testBuildfile = Paths.get(SystemProperties.homeDir, "kotlin", "kobalt", "kobalt/src/Build.kt")
|
||||||
.toFile().absolutePath
|
.toFile().absolutePath
|
||||||
val c : String = "{ \"name\":\"GetDependencies\", \"buildFile\": \"$testBuildfile\"}"
|
val c : String = "{ \"name\":\"getDependencies\", \"buildFile\": \"$testBuildfile\"}"
|
||||||
outgoing!!.println(c)
|
outgoing!!.println(c)
|
||||||
val ins = BufferedReader(InputStreamReader(socket.inputStream))
|
val ins = BufferedReader(InputStreamReader(socket.inputStream))
|
||||||
var line = ins.readLine()
|
var line = ins.readLine()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue