Upgraded to Kotlin 1.5.21 and JDK 16.

This commit is contained in:
Erik C. Thauvin 2021-07-27 09:10:04 -07:00
parent a345330421
commit 233b1acdb2
5 changed files with 23 additions and 15 deletions

View file

@ -30,11 +30,11 @@ defaults_gradle: &defaults_gradle
path: build/reports/
jobs:
build_gradle_jdk14:
build_gradle_jdk16:
<<: *defaults
docker:
- image: openjdk:14-jdk
- image: openjdk:16-jdk
<<: *defaults_gradle
@ -51,4 +51,4 @@ workflows:
gradle:
jobs:
- build_gradle_jdk8
- build_gradle_jdk14
- build_gradle_jdk16

View file

@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
java-version: [ 11, 15 ]
java-version: [ 11, 16 ]
steps:
- uses: actions/checkout@v2

View file

@ -6,7 +6,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id("com.github.ben-manes.versions") version "0.39.0"
id("io.gitlab.arturbosch.detekt") version "1.18.0-RC1"
id("io.gitlab.arturbosch.detekt") version "1.18.0-RC2"
id("jacoco")
id("java")
id("java-library")
@ -14,7 +14,7 @@ plugins {
id("org.jetbrains.dokka") version "1.5.0"
id("org.sonarqube") version "3.3"
id("signing")
kotlin("jvm") version "1.5.20"
kotlin("jvm") version "1.5.21"
}
description = "Estimated Reading Time for Blog Posts, Articles, etc."

View file

@ -1,7 +1,7 @@
plugins {
id("application")
id("com.github.ben-manes.versions") version "0.39.0"
kotlin("jvm") version "1.5.20"
kotlin("jvm") version "1.5.21"
}
// ./gradlew run

View file

@ -1,10 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*
* The settings file is used to specify which projects to include in your build.
*
* Detailed information about configuring a multi-project build in Gradle can be found
* in the user manual at https://docs.gradle.org/6.5.1/userguide/multi_project_builds.html
*/
plugins {
id("com.gradle.enterprise").version("3.6.3")
}
gradleEnterprise {
buildScan {
link("GitHub", "https://github.com/ethauvin/readingtime/tree/master")
if (!System.getenv("CI").isNullOrEmpty()) {
isUploadInBackground = false
publishOnFailure()
tag("CI")
}
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
rootProject.name = "readingtime"