Skip to content

Commit

Permalink
Merge pull request #40 from IntershopCommunicationsAG/update
Browse files Browse the repository at this point in the history
Update Gradle, update plugins
  • Loading branch information
m-raab authored Jun 9, 2020
2 parents 689387b + ae8fb80 commit 8cda7fa
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 7 deletions.
12 changes: 9 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,13 @@ if (project.version.toString().endsWith("-SNAPSHOT")) {

tasks {
withType<Test>().configureEach {
systemProperty("intershop.gradle.versions", "6.1.1,6.2")
systemProperty("intershop.gradle.versions", "6.2,6.4,6.5")

testLogging {
showStandardStreams = true
}

dependsOn("jar")
}

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

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

implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.13.0") {
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.15.2") {
exclude(module = "groovy-all")
}
implementation("com.intershop.gradle.buildinfo:buildinfo-gradle-plugin:6.0.0")
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar


# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
Expand Down Expand Up @@ -129,6 +130,7 @@ fi
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
Expand Down
4 changes: 4 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

Expand Down Expand Up @@ -81,6 +84,7 @@ set CMD_LINE_ARGS=%*

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class MultiProjectArtifactoryKtsSpec extends AbstractIntegrationKotlinSpec {
then:
result.task(':artifactoryPublish').outcome == SUCCESS
upLoadListCheck
upLoadList.size() == 6
upLoadList.size() > 3
! result.tasks.contains(':writeToJira')

where:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationGroovySpec {
then:
result.task(':artifactoryPublish').outcome == SUCCESS
upLoadListCheck
upLoadList.size() > 4
upLoadList.size() > 3
! result.tasks.contains(':writeToJira')

where:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class MultiProjectSimpleArtifactoryPublishSpec extends AbstractIntegrationGroovy
then:
result.task(':artifactoryPublish').outcome == SUCCESS
upLoadListCheck
upLoadList.size() > 2
upLoadList.size() > 1

where:
buildFileContent << [buildFileContentBase]
Expand Down

0 comments on commit 8cda7fa

Please sign in to comment.