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
|
<<: *defaults
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/openjdk:16.0.0
|
- image: cimg/openjdk:16.0
|
||||||
|
|
||||||
<<: *defaults_gradle
|
<<: *defaults_gradle
|
||||||
|
|
||||||
build_gradle_jdk11:
|
build_gradle_jdk8:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/openjdk:11.0.10
|
- image: cimg/openjdk:8.0
|
||||||
|
|
||||||
<<: *defaults_gradle
|
<<: *defaults_gradle
|
||||||
|
|
||||||
|
@ -49,5 +49,5 @@ workflows:
|
||||||
version: 2
|
version: 2
|
||||||
gradle:
|
gradle:
|
||||||
jobs:
|
jobs:
|
||||||
- build_gradle_jdk11
|
- build_gradle_jdk8
|
||||||
- build_gradle_jdk16
|
- 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: [ 8, 11, 16 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
image: openjdk:11
|
image: openjdk:8
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -6,14 +6,14 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||||
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"
|
||||||
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("maven-publish")
|
id("maven-publish")
|
||||||
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
||||||
|
|
|
@ -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/7.0/userguide/multi_project_builds.html
|
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"
|
rootProject.name = "cryptoprice"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue