Skip to content

Commit

Permalink
update plugins to latest version
Browse files Browse the repository at this point in the history
update Gradle to version 6
  • Loading branch information
m-raab committed Feb 10, 2020
1 parent 91628ca commit 7bb2002
Show file tree
Hide file tree
Showing 9 changed files with 483 additions and 42 deletions.
18 changes: 6 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ import java.util.*
* limitations under the License.
*/
plugins {
// build performance
id("com.gradle.build-scan") version "3.0"

// project plugins
`java-gradle-plugin`
groovy
Expand All @@ -35,7 +32,7 @@ plugins {
`maven-publish`

// intershop version plugin
id("com.intershop.gradle.scmversion") version "6.0.0"
id("com.intershop.gradle.scmversion") version "6.1.0"

// plugin for documentation
id("org.asciidoctor.jvm.convert") version "2.3.0"
Expand All @@ -48,12 +45,9 @@ plugins {
}

scm {
version.initialVersion = "1.0.0"
}

buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
version {
initialVersion = "1.0.0"
}
}

group = "com.intershop.gradle.publish"
Expand Down Expand Up @@ -109,7 +103,7 @@ if (project.version.toString().endsWith("-SNAPSHOT")) {

tasks {
withType<Test>().configureEach {
systemProperty("intershop.gradle.versions", "5.6.3, 6.0")
systemProperty("intershop.gradle.versions", "6.1.1")
}

val copyAsciiDoc = register<Copy>("copyAsciiDoc") {
Expand Down Expand Up @@ -256,7 +250,7 @@ bintray {
}

dependencies {
implementation("com.intershop.gradle.jiraconnector:jiraconnector-gradle-plugin:5.1.1")
implementation("com.intershop.gradle.jiraconnector:jiraconnector-gradle-plugin:6.0.0")

implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.13.0") {
exclude(module = "groovy-all")
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Tue Oct 29 12:36:44 CET 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-all.zip
29 changes: 12 additions & 17 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,19 @@ if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
i=`expr $i + 1`
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi

Expand All @@ -175,14 +175,9 @@ save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
APP_ARGS=`save "$@"`

# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"

# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi

exec "$JAVACMD" "$@"
Loading

0 comments on commit 7bb2002

Please sign in to comment.