Cleanup.
This commit is contained in:
parent
47334faf09
commit
6fa0ebb728
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ class VersionEyePlugin @Inject constructor(val configActor: ConfigActor<VersionE
|
||||||
System.setProperty("https.proxyPort", "8888")
|
System.setProperty("https.proxyPort", "8888")
|
||||||
}
|
}
|
||||||
|
|
||||||
val local = project.directory + "/local.properties"
|
val local = "${project.directory}/local.properties"
|
||||||
|
|
||||||
// Load configuration
|
// Load configuration
|
||||||
configurationFor(project)?.let { config ->
|
configurationFor(project)?.let { config ->
|
||||||
|
@ -210,7 +210,7 @@ class VersionEyePlugin @Inject constructor(val configActor: ConfigActor<VersionE
|
||||||
// Execute and handle request
|
// Execute and handle request
|
||||||
val response = httpClient.newCall(request).execute()
|
val response = httpClient.newCall(request).execute()
|
||||||
if (!response.isSuccessful) {
|
if (!response.isSuccessful) {
|
||||||
warn("Unexpected response from VersionEye: " + response)
|
warn("Unexpected response from VersionEye: $response")
|
||||||
return TaskResult()
|
return TaskResult()
|
||||||
} else {
|
} else {
|
||||||
// Parse json response
|
// Parse json response
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue