Upgraded to Kotlin 1.5.21 and JDK 16.
This commit is contained in:
parent
a345330421
commit
233b1acdb2
5 changed files with 23 additions and 15 deletions
|
@ -30,11 +30,11 @@ defaults_gradle: &defaults_gradle
|
||||||
path: build/reports/
|
path: build/reports/
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_gradle_jdk14:
|
build_gradle_jdk16:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
- image: openjdk:14-jdk
|
- image: openjdk:16-jdk
|
||||||
|
|
||||||
<<: *defaults_gradle
|
<<: *defaults_gradle
|
||||||
|
|
||||||
|
@ -51,4 +51,4 @@ workflows:
|
||||||
gradle:
|
gradle:
|
||||||
jobs:
|
jobs:
|
||||||
- build_gradle_jdk8
|
- build_gradle_jdk8
|
||||||
- build_gradle_jdk14
|
- build_gradle_jdk16
|
||||||
|
|
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java-version: [ 11, 15 ]
|
java-version: [ 11, 16 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -6,7 +6,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.github.ben-manes.versions") version "0.39.0"
|
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("jacoco")
|
||||||
id("java")
|
id("java")
|
||||||
id("java-library")
|
id("java-library")
|
||||||
|
@ -14,7 +14,7 @@ plugins {
|
||||||
id("org.jetbrains.dokka") version "1.5.0"
|
id("org.jetbrains.dokka") version "1.5.0"
|
||||||
id("org.sonarqube") version "3.3"
|
id("org.sonarqube") version "3.3"
|
||||||
id("signing")
|
id("signing")
|
||||||
kotlin("jvm") version "1.5.20"
|
kotlin("jvm") version "1.5.21"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "Estimated Reading Time for Blog Posts, Articles, etc."
|
description = "Estimated Reading Time for Blog Posts, Articles, etc."
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("application")
|
id("application")
|
||||||
id("com.github.ben-manes.versions") version "0.39.0"
|
id("com.github.ben-manes.versions") version "0.39.0"
|
||||||
kotlin("jvm") version "1.5.20"
|
kotlin("jvm") version "1.5.21"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ./gradlew run
|
// ./gradlew run
|
||||||
|
|
|
@ -1,10 +1,18 @@
|
||||||
/*
|
plugins {
|
||||||
* This file was generated by the Gradle 'init' task.
|
id("com.gradle.enterprise").version("3.6.3")
|
||||||
*
|
}
|
||||||
* The settings file is used to specify which projects to include in your build.
|
|
||||||
*
|
gradleEnterprise {
|
||||||
* Detailed information about configuring a multi-project build in Gradle can be found
|
buildScan {
|
||||||
* in the user manual at https://docs.gradle.org/6.5.1/userguide/multi_project_builds.html
|
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"
|
rootProject.name = "readingtime"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue