Skip to content

Commit

Permalink
upgrade gradle
Browse files Browse the repository at this point in the history
(cherry picked from commit 89c670181d4112e22433bed867ce5909d8f7b5a9)
  • Loading branch information
angryziber authored and karnilaev committed Aug 6, 2021
1 parent 267aea4 commit e9d745f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ sourceSets {
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = listOf("-Xjsr305=strict -progressive")
freeCompilerArgs += "-Xjsr305=strict -progressive"
javaParameters = true
}
finalizedBy("generateTSTypes")
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down
2 changes: 0 additions & 2 deletions src/app/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import io.jooby.Kooby
import io.jooby.json.JacksonModule
import io.jooby.put
import java.net.http.HttpClient
import java.time.Duration
import java.time.Duration.ofSeconds
import java.time.temporal.ChronoUnit.SECONDS

val objectMapper = JacksonModule.create().disable(WRITE_DATES_AS_TIMESTAMPS).setSerializationInclusion(NON_NULL)
.configure(FAIL_ON_UNKNOWN_PROPERTIES, false).registerModule(KotlinModule())!!
Expand Down

0 comments on commit e9d745f

Please sign in to comment.