Skip to content
Permalink
Browse files

Improve Gradle build (#1025)

Update Gradle
$ ./gradlew wrapper --gradle-version 5.6.2

Configure the Gradle Build Scan plugin
Read https://dev.to/jmfayard/the-one-gradle-trick-that-supersedes-all-the-others-5bpg

Add Gradle properties
Read https://dev.to/jmfayard/configuring-gradle-with-gradle-properties-211k
  • Loading branch information...
jmfayard authored and Kerooker committed Oct 1, 2019
1 parent f7bbd84 commit 02b4c84785c35a54ba78a2207283e7c8f9ab245f
Showing with 14 additions and 2 deletions.
  1. +9 −0 build.gradle
  2. +4 −1 gradle.properties
  3. +1 −1 gradle/wrapper/gradle-wrapper.properties
@@ -34,6 +34,7 @@ plugins {
id 'maven-publish'
id 'signing'
id 'net.researchgate.release' version '2.8.0'
id("com.gradle.build-scan").version("2.4.2")
}

// apply plugin: "io.kotest"
@@ -71,3 +72,11 @@ dependencies {
project(":") {
publish.enabled = false
}


buildScan {
// ./gradlew --scan $TASKNAME
// see https://dev.to/jmfayard/the-one-gradle-trick-that-supersedes-all-the-others-5bpg
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
@@ -12,6 +12,9 @@ intellijPublishPassword=xx
#this is the version used by the gradle release plugin
version=3.4.0

org.gradle.caching=true
sandbox = .

# See https://dev.to/jmfayard/configuring-gradle-with-gradle-properties-211k
org.gradle.caching=true
org.gradle.parallel=true
kotlin.code.style=official
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 02b4c84

Please sign in to comment.
You can’t perform that action at this time.