Upgraded to Kotlin 1.5.21 and JDK 16.
This commit is contained in:
parent
8f3e04c021
commit
756f226435
6 changed files with 25 additions and 17 deletions
|
@ -33,15 +33,15 @@ jobs:
|
|||
<<: *defaults
|
||||
|
||||
docker:
|
||||
- image: cimg/openjdk:16.0.0
|
||||
- image: cimg/openjdk:16.0
|
||||
|
||||
<<: *defaults_gradle
|
||||
|
||||
build_gradle_jdk11:
|
||||
build_gradle_jdk8:
|
||||
<<: *defaults
|
||||
|
||||
docker:
|
||||
- image: cimg/openjdk:11.0.10
|
||||
- image: cimg/openjdk:8.0
|
||||
|
||||
<<: *defaults_gradle
|
||||
|
||||
|
@ -49,5 +49,5 @@ workflows:
|
|||
version: 2
|
||||
gradle:
|
||||
jobs:
|
||||
- build_gradle_jdk11
|
||||
- build_gradle_jdk8
|
||||
- build_gradle_jdk16
|
||||
|
|
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [ 11, 15 ]
|
||||
java-version: [ 8, 11, 16 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
image: openjdk:11
|
||||
image: openjdk:8
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
|
|
|
@ -6,14 +6,14 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|||
plugins {
|
||||
id("application")
|
||||
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("maven-publish")
|
||||
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"
|
||||
}
|
||||
|
||||
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/7.0/userguide/multi_project_builds.html
|
||||
*/
|
||||
plugins {
|
||||
id("com.gradle.enterprise").version("3.6.3")
|
||||
}
|
||||
|
||||
gradleEnterprise {
|
||||
buildScan {
|
||||
link("GitHub", "https://github.com/ethauvin/cryptoprice/tree/master")
|
||||
if (!System.getenv("CI").isNullOrEmpty()) {
|
||||
isUploadInBackground = false
|
||||
publishOnFailure()
|
||||
tag("CI")
|
||||
}
|
||||
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
||||
termsOfServiceAgree = "yes"
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "cryptoprice"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue