Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 7bcebe4

Browse files
authored
Update development and support gradle version to 4.10 (#10)
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`
1 parent 033b3bf commit 7bcebe4

File tree

6 files changed

+55
-3
lines changed

6 files changed

+55
-3
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ Tested with Oracle JDK8
3434
| 3.5 | ![yes] |
3535
| 3.5.1 | ![yes] |
3636
| 4.0 | ![yes] |
37+
| 4.1 | ![yes] |
38+
| 4.2 | ![yes] |
39+
| 4.3 | ![yes] |
40+
| 4.4 | ![yes] |
41+
| 4.5 | ![yes] |
42+
| 4.6 | ![yes] |
43+
| 4.7 | ![yes] |
44+
| 4.8 | ![yes] |
45+
| 4.9 | ![yes] |
46+
| 4.10 | ![yes] |
3747

3848
Development
3949
===========

gradle/wrapper/gradle-wrapper.jar

1.43 KB
Binary file not shown.
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Wed Dec 06 11:53:35 CET 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip

gradle_check_versions.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
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")
4+
5+
for i in "${versions[@]}"
6+
do
7+
echo "test gradle version $i"
8+
GRADLE_VERSION=$i ./gradlew integrationTest &> /dev/null
9+
status=$?
10+
mkdir -p "build/reports/$i"
11+
mv build/reports/integrationTest "build/reports/$i"
12+
if [ $status -ne 0 ]; then
13+
echo "test error $i"
14+
fi
15+
done
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright 2017 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
package wooga.gradle.wdk.unity
19+
20+
class IntegrationSpec extends nebula.test.IntegrationSpec {
21+
22+
def setup() {
23+
def gradleVersion = System.getenv("GRADLE_VERSION")
24+
if (gradleVersion) {
25+
this.gradleVersion = gradleVersion
26+
fork = true
27+
}
28+
}
29+
}

src/integrationTest/groovy/wooga/gradle/wdk/unity/UnityIntegrationSpec.groovy

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package wooga.gradle.wdk.unity
1919

2020
import groovy.json.StringEscapeUtils
21-
import nebula.test.IntegrationSpec
2221

2322
abstract class UnityIntegrationSpec extends IntegrationSpec {
2423

0 commit comments

Comments
 (0)