Skip to content

Commit

Permalink
Update development and support gradle version to 4.10
Browse files Browse the repository at this point in the history
Description
===========

This patch updates the used gradle version for development to `4.10`.
This concludes the support of the gradle `4.x` version range as `4.10`
is the last version before `5.0`

Changes
=======

![UPDATE] gradle development/support version to `4.10`
  • Loading branch information
Larusso committed Sep 7, 2018
1 parent 033b3bf commit 3e3b8b4
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 3 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -34,6 +34,16 @@ Tested with Oracle JDK8
| 3.5 | ![yes] |
| 3.5.1 | ![yes] |
| 4.0 | ![yes] |
| 4.1 | ![yes] |
| 4.2 | ![yes] |
| 4.3 | ![yes] |
| 4.4 | ![yes] |
| 4.5 | ![yes] |
| 4.6 | ![yes] |
| 4.7 | ![yes] |
| 4.8 | ![yes] |
| 4.9 | ![yes] |
| 4.10 | ![yes] |

Development
===========
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
@@ -1,6 +1,5 @@
#Wed Dec 06 11:53:35 CET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip
15 changes: 15 additions & 0 deletions gradle_check_versions.sh
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

versions=("3.0" "3.1" "3.2" "3.4" "3.4.1" "3.5" "3.5.1" "4.0" "4.1" "4.2" "4.3" "4.4" "4.5" "4.6" "4.7" "4.8" "4.9" "4.10")

for i in "${versions[@]}"
do
echo "test gradle version $i"
GRADLE_VERSION=$i ./gradlew integrationTest &> /dev/null
status=$?
mkdir -p "build/reports/$i"
mv build/reports/integrationTest "build/reports/$i"
if [ $status -ne 0 ]; then
echo "test error $i"
fi
done
@@ -0,0 +1,29 @@
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

package wooga.gradle.wdk.unity

class IntegrationSpec extends nebula.test.IntegrationSpec {

def setup() {
def gradleVersion = System.getenv("GRADLE_VERSION")
if (gradleVersion) {
this.gradleVersion = gradleVersion
fork = true
}
}
}
Expand Up @@ -18,7 +18,6 @@
package wooga.gradle.wdk.unity

import groovy.json.StringEscapeUtils
import nebula.test.IntegrationSpec

abstract class UnityIntegrationSpec extends IntegrationSpec {

Expand Down

0 comments on commit 3e3b8b4

Please sign in to comment.