-
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.
Add UBS 1.6 compatibility setup (#188)
* Add UBS 1.6 compatibility setup Description =========== With UBS 1.6 and especially in combination with Unity > 2021 we have to introduce some version specific changes. The cli parameter `--version` is no longer valid and when provided in the cli call to Unity will result in Unity printing its version. So I renamed the cli flag to `--build-version` when UBS compatibility is set to `v160`. > Note: > `--version` was already not working in UBS because of an issue with the used > CLI parser. I kept the old behavior just to be compatible to the old version. I also renamed `--version-code` to `--build-version-code`. While touching things based on the UBS compatibility value I also changed the default `exportMethod` value and `appConfigsDirectory`. Changes ======= * ![ADD] UBS 1.6 compatibility setup * Refactor BuildEngineArgs
- Loading branch information
Showing
16 changed files
with
230 additions
and
152 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
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,5 +1,5 @@ | ||
package wooga.gradle.build.unity | ||
|
||
enum UBSVersion { | ||
v100, v120 | ||
} | ||
v100, v120, v160 | ||
} |
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
24 changes: 0 additions & 24 deletions
24
src/main/groovy/wooga/gradle/build/unity/internal/BuildEngineArg.groovy
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.