• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wooga / atlas-build-unity
83%
master: 78%

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Repo Added 06 Jun 2018 07:51AM UTC
Files 71
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH PR-67
branch: PR-67
CHANGE BRANCH
x
Reset
  • PR-67
  • 2692491593e162389c4d535c3a47d57a34e23640
  • PR-10
  • PR-100
  • PR-101
  • PR-102
  • PR-103
  • PR-104
  • PR-106
  • PR-107
  • PR-11
  • PR-111
  • PR-113
  • PR-114
  • PR-115
  • PR-117
  • PR-118
  • PR-119
  • PR-12
  • PR-120
  • PR-122
  • PR-124
  • PR-125
  • PR-126
  • PR-127
  • PR-128
  • PR-129
  • PR-13
  • PR-130
  • PR-131
  • PR-133
  • PR-134
  • PR-135
  • PR-136
  • PR-137
  • PR-139
  • PR-14
  • PR-140
  • PR-141
  • PR-143
  • PR-144
  • PR-145
  • PR-146
  • PR-147
  • PR-148
  • PR-150
  • PR-152
  • PR-154
  • PR-16
  • PR-17
  • PR-18
  • PR-20
  • PR-21
  • PR-24
  • PR-25
  • PR-26
  • PR-27
  • PR-28
  • PR-29
  • PR-30
  • PR-31
  • PR-32
  • PR-35
  • PR-36
  • PR-37
  • PR-39
  • PR-40
  • PR-42
  • PR-44
  • PR-45
  • PR-46
  • PR-48
  • PR-49
  • PR-50
  • PR-53
  • PR-54
  • PR-55
  • PR-56
  • PR-57
  • PR-58
  • PR-59
  • PR-6
  • PR-60
  • PR-61
  • PR-62
  • PR-63
  • PR-64
  • PR-65
  • PR-66
  • PR-68
  • PR-7
  • PR-70
  • PR-71
  • PR-72
  • PR-73
  • PR-74
  • PR-75
  • PR-76
  • PR-77
  • PR-78
  • PR-79
  • PR-8
  • PR-80
  • PR-81
  • PR-82
  • PR-84
  • PR-85
  • PR-86
  • PR-87
  • PR-88
  • PR-89
  • PR-9
  • PR-90
  • PR-91
  • PR-92
  • PR-93
  • PR-94
  • PR-95
  • PR-96
  • PR-97
  • PR-98
  • PR-99
  • master
  • release/1.x

pending completion
9

push

jenkins

Add support for custom arguments for the build player task

Description
===========

The `UnityBuildPlayerTask` provides special UBS arguments with a special
commandline flag `-CustomArgs` and a single long value with multiple
arguments enoded as "key=value;". There was no dynamic way of adding
values to this flag. This patch adds a new property `customArguments` to
both `UnityBuildPlayerTask` and the `unityBuild` extension. The type of
this property is a simple `Map`. Values provided in the extension will
be configured for all export tasks unless they override this property.

```groovy
unityBuild {
    customArguments = ["value1" : "some value", "aFile": new File("/some/file")]
}
```

```groovy
gradle.taskGraph.whenReady {
  tasks.withType(wooga.gradle.build.unity.tasks.UnityBuildPlayerTask) { t ->
    if(t.buildPlatform == "android") {
      t.customArguments = ['foo':'bar']
    }
  }
}
```

Both key and values of the map will be converted to `String` during
encoding. So custom types with a `toString` implementation are possible.
Be aware that string values with newlines or other special characters
could execute undifined behavior and is also untested at the moment.

Changes
=======

* ![ADD] custom arguments support for `UnityBuildPlayerTask`

883 of 1066 relevant lines covered (82.83%)

1.68 hits per line

Relevant lines Covered
Build:
Build:
1066 RELEVANT LINES 883 COVERED LINES
1.68 HITS PER LINE
Source Files on PR-67
  • Tree
  • List 22
  • Changed 22
  • Source Changed 22
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9 PR-67 Add support for custom arguments for the build player task Description =========== The `UnityBuildPlayerTask` provides special UBS arguments with a special commandline flag `-CustomArgs` and a single long value with multiple arguments enoded as ... push 06 Sep 2020 06:02PM UTC jenkins pending completion  
8 PR-67 Add support for custom arguments for the build player task Description =========== The `UnityBuildPlayerTask` provides special UBS arguments with a special commandline flag `-CustomArgs` and a single long value with multiple arguments enoded as ... push 06 Sep 2020 10:04AM UTC jenkins pending completion  
4 PR-67 Add support for custom arguments for the build player task Description =========== The `UnityBuildPlayerTask` provides special UBS arguments with a special commandline flag `-CustomArgs` and a single long value with multiple arguments enoded as ... push 05 Sep 2020 07:07PM UTC jenkins pending completion  
3 PR-67 Add support for custom arguments for the build player task Description =========== The `UnityBuildPlayerTask` provides special UBS arguments with a special commandline flag `-CustomArgs` and a single long value with multiple arguments enoded as ... push 05 Sep 2020 06:53PM UTC jenkins pending completion  
2 PR-67 Add support for custom arguments for the build player task Description =========== The `UnityBuildPlayerTask` provides special UBS arguments with a special commandline flag `-CustomArgs` and a single long value with multiple arguments enoded as ... push 04 Sep 2020 12:32PM UTC jenkins pending completion  
See All Builds (473)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc