Revert spotless to working version (#4884)

* Revert "Fix Intellij import (#4877)"

This reverts commit 63aec1a401.

* Revert "Update spotless (#4863)"

This reverts commit a4f70cbd86.
This commit is contained in:
Anuraag Agrawal 2021-12-14 10:59:41 +09:00 committed by GitHub
parent 0dbc1f2e1f
commit 8d0541e0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,7 @@
plugins {
`kotlin-dsl`
// When updating, update below in dependencies too
// TEMPORARY NOTE: Intellij (re-)import is currently failing with 6.0.3 and 6.0.4
id("com.diffplug.spotless") version "6.0.2"
id("com.diffplug.spotless") version "5.16.0"
}
spotless {
@ -36,7 +35,7 @@ dependencies {
implementation("org.apache.maven:maven-aether-provider:3.3.9")
// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.0.2")
implementation("com.diffplug.spotless:spotless-plugin-gradle:5.16.0")
implementation("com.google.guava:guava:31.0.1-jre")
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.0")

View File

@ -31,7 +31,7 @@ object AkkaHttpTestAsyncWebServer {
def doCall(): HttpResponse = {
val resp = HttpResponse(status =
endpoint.getStatus
) // .withHeaders(headers.Type)resp.contentType = "text/plain"
) //.withHeaders(headers.Type)resp.contentType = "text/plain"
endpoint match {
case SUCCESS => resp.withEntity(endpoint.getBody)
case INDEXED_CHILD =>

View File

@ -27,7 +27,7 @@ object AkkaHttpTestWebServer {
)
}
val route = { // handleExceptions(exceptionHandler) {
val route = { //handleExceptions(exceptionHandler) {
path(SUCCESS.rawPath) {
complete(
HttpResponse(status = SUCCESS.getStatus).withEntity(SUCCESS.getBody)