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:
|
||||
JVM_OPTS: -Xmx3200m
|
||||
TERM: dumb
|
||||
CI: true
|
||||
|
||||
version: 2.0
|
||||
|
||||
|
@ -30,7 +31,7 @@ jobs:
|
|||
|
||||
- run:
|
||||
name: Run All Checks
|
||||
command: ./gradlew check
|
||||
command: ./gradlew check --scan
|
||||
|
||||
- store_artifacts:
|
||||
path: build/reports/
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
language: java
|
||||
|
||||
env:
|
||||
global:
|
||||
- CI=true
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
|
@ -15,7 +19,7 @@ before_install:
|
|||
- chmod +x gradlew
|
||||
|
||||
script:
|
||||
- ./gradlew check
|
||||
- ./gradlew check --scan
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
|
|
@ -5,10 +5,11 @@ plugins {
|
|||
`kotlin-dsl`
|
||||
`maven-publish`
|
||||
jacoco
|
||||
id("com.github.ben-manes.versions").version("0.21.0")
|
||||
id("com.gradle.plugin-publish").version("0.10.1")
|
||||
id("io.gitlab.arturbosch.detekt").version("1.0.0-RC14")
|
||||
id("org.jlleitschuh.gradle.ktlint").version("7.2.1")
|
||||
id("com.github.ben-manes.versions") version "0.21.0"
|
||||
id("com.gradle.build-scan") version "2.2.1"
|
||||
id("com.gradle.plugin-publish") version "0.10.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"
|
||||
}
|
||||
|
||||
|
@ -18,7 +19,7 @@ group = "net.thauvin.erik.gradle"
|
|||
var github = "https://github.com/ethauvin/semver-gradle"
|
||||
var packageName = "net.thauvin.erik.gradle.semver"
|
||||
|
||||
var spek_version = "2.0.1"
|
||||
var spek_version = "2.0.2"
|
||||
|
||||
repositories {
|
||||
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 {
|
||||
input = files("src/main/kotlin", "src/test/kotlin")
|
||||
filters = ".*/resources/.*,.*/build/.*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue