This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description =========== This is a general update to Gradle 6.9/7. To do this we need to update all kinds of plugins to the latest available version to be compatible. Changes ======= * ![UPDATE] ![GRADLE] to version `6.9` * ![UPDATE] `net.wooga.unity` plugin to version `2.x`
- Loading branch information
Showing
15 changed files
with
243 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
versions=("4.0" "4.1" "4.2" "4.3" "4.4" "4.5" "4.6" "4.7" "4.8" "4.9" "4.10") | ||
# | ||
# Copyright 2018-2021 Wooga GmbH | ||
# | ||
# 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. | ||
# | ||
|
||
versions=("5.1" "5.2" "5.3" "5.4" "5.5" "5.6" "6.0" "6.1" "6.2" "6.3" "6.4" "6.5" "6.6" "6.7" "6.8") | ||
|
||
rm -fr build/reports | ||
for i in "${versions[@]}" | ||
do | ||
echo "test gradle version $i" | ||
GRADLE_VERSION=$i ./gradlew test &> /dev/null | ||
status=$? | ||
mkdir -p "build/reports/$i" | ||
mv build/reports/test "build/reports/$i" | ||
if [ $status -ne 0 ]; then | ||
echo "test error $i" | ||
fi | ||
|
||
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" | ||
echo "integrationTest error $i" | ||
fi | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
src/main/groovy/wooga/gradle/unity/version/manager/UnityVersionManagerConsts.groovy
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
src/main/groovy/wooga/gradle/unity/version/manager/UnityVersionManagerConventions.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* 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.unity.version.manager | ||
|
||
import wooga.gradle.unity.utils.PropertyLookup | ||
|
||
class UnityVersionManagerConventions { | ||
|
||
/** | ||
* Gradle property/env convention to set the default value for {@code autoSwitchUnityEditor}. | ||
* @see UnityVersionManagerExtension#getAutoSwitchUnityEditor() | ||
*/ | ||
static final PropertyLookup autoSwitchUnityEditor = new PropertyLookup("UVM_AUTO_SWITCH_UNITY_EDITOR", "uvm.autoSwitchUnityEditor", false) | ||
|
||
/** | ||
* Gradle property/env convention set the default value for {@code autoInstallUnityEditor}. | ||
* @see UnityVersionManagerExtension#getAutoInstallUnityEditor() | ||
*/ | ||
static final PropertyLookup autoInstallUnityEditor = new PropertyLookup("UVM_AUTO_INSTALL_UNITY_EDITOR", "uvm.autoInstallUnityEditor", false) | ||
|
||
/** | ||
* Gradle property/env convention to set the default value for {@code unityInstallBaseDir}. | ||
* @see UnityVersionManagerExtension#getUnityInstallBaseDir() | ||
*/ | ||
static final PropertyLookup unityInstallBaseDir = new PropertyLookup("UVM_UNITY_INSTALL_BASE_DIR", "uvm.unityInstallBaseDir", null) | ||
|
||
/** | ||
* Gradle property/env convention to set the default value for {@code unityVersion}. | ||
* @see UnityVersionManagerExtension#getUnityVersion() | ||
*/ | ||
static final PropertyLookup unityVersion = new PropertyLookup("UVM_UNITY_VERSION", "uvm.unityVersion", null) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.