Updated dependencies and added buildScan support.
This commit is contained in:
parent
9985de1e0a
commit
6f4d3c1501
3 changed files with 23 additions and 7 deletions
|
@ -5,6 +5,7 @@ defaults: &defaults
|
||||||
environment:
|
environment:
|
||||||
JVM_OPTS: -Xmx3200m
|
JVM_OPTS: -Xmx3200m
|
||||||
TERM: dumb
|
TERM: dumb
|
||||||
|
CI: true
|
||||||
|
|
||||||
version: 2.0
|
version: 2.0
|
||||||
|
|
||||||
|
@ -30,7 +31,7 @@ jobs:
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run All Checks
|
name: Run All Checks
|
||||||
command: ./gradlew check
|
command: ./gradlew check --scan
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/reports/
|
path: build/reports/
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
language: java
|
language: java
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- CI=true
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
|
@ -15,7 +19,7 @@ before_install:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew check
|
- ./gradlew check --scan
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
|
|
@ -5,10 +5,11 @@ plugins {
|
||||||
`kotlin-dsl`
|
`kotlin-dsl`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
jacoco
|
jacoco
|
||||||
id("com.github.ben-manes.versions").version("0.21.0")
|
id("com.github.ben-manes.versions") version "0.21.0"
|
||||||
id("com.gradle.plugin-publish").version("0.10.1")
|
id("com.gradle.build-scan") version "2.2.1"
|
||||||
id("io.gitlab.arturbosch.detekt").version("1.0.0-RC14")
|
id("com.gradle.plugin-publish") version "0.10.1"
|
||||||
id("org.jlleitschuh.gradle.ktlint").version("7.2.1")
|
id("io.gitlab.arturbosch.detekt") version "1.0.0-RC14"
|
||||||
|
id("org.jlleitschuh.gradle.ktlint") version "7.3.0"
|
||||||
id("org.sonarqube") version "2.7"
|
id("org.sonarqube") version "2.7"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +19,7 @@ group = "net.thauvin.erik.gradle"
|
||||||
var github = "https://github.com/ethauvin/semver-gradle"
|
var github = "https://github.com/ethauvin/semver-gradle"
|
||||||
var packageName = "net.thauvin.erik.gradle.semver"
|
var packageName = "net.thauvin.erik.gradle.semver"
|
||||||
|
|
||||||
var spek_version = "2.0.1"
|
var spek_version = "2.0.2"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
@ -64,6 +65,16 @@ tasks {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildScan {
|
||||||
|
link("GitHub", "https://github.com/ethauvin/semver-gradle/tree/master")
|
||||||
|
if ("true" == System.getenv("CI")) {
|
||||||
|
publishOnFailure()
|
||||||
|
tag("CI")
|
||||||
|
}
|
||||||
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
||||||
|
termsOfServiceAgree = "yes"
|
||||||
|
}
|
||||||
|
|
||||||
detekt {
|
detekt {
|
||||||
input = files("src/main/kotlin", "src/test/kotlin")
|
input = files("src/main/kotlin", "src/test/kotlin")
|
||||||
filters = ".*/resources/.*,.*/build/.*"
|
filters = ".*/resources/.*,.*/build/.*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue