Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wooga/atlas-unity
a Unity 3D gradle plugin
https://github.com/wooga/atlas-unity
atlas gradle plugin unity3d wooga
Last synced: about 2 months ago
JSON representation
a Unity 3D gradle plugin
- Host: GitHub
- URL: https://github.com/wooga/atlas-unity
- Owner: wooga
- License: apache-2.0
- Created: 2017-05-24T13:58:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T12:34:55.000Z (8 months ago)
- Last Synced: 2024-05-22T12:49:53.976Z (8 months ago)
- Topics: atlas, gradle, plugin, unity3d, wooga
- Language: Groovy
- Homepage: https://wooga.github.io/atlas-unity/
- Size: 968 KB
- Stars: 13
- Watchers: 43
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
atlas-unity
===========[![Gradle Plugin ID](https://img.shields.io/badge/gradle-net.wooga.unity-brightgreen.svg?style=flat-square)](https://plugins.gradle.org/plugin/net.wooga.unity)
[![Build Status](https://img.shields.io/travis/wooga/atlas-unity/master.svg?style=flat-square)](https://travis-ci.org/wooga/atlas-unity)
[![Coveralls Status](https://img.shields.io/coveralls/wooga/atlas-unity/master.svg?style=flat-square)](https://coveralls.io/github/wooga/atlas-unity?branch=master)
[![Apache 2.0](https://img.shields.io/badge/license-Apache%202-blue.svg?style=flat-square)](https://raw.githubusercontent.com/wooga/atlas-unity/master/LICENSE)
[![GitHub tag](https://img.shields.io/github/tag/wooga/atlas-unity.svg?style=flat-square)]()
[![GitHub release](https://img.shields.io/github/release/wooga/atlas-unity.svg?style=flat-square)]()This plugin provides tasks to run unity batchmode commands in [gradle][gradle]. It runs and reports unity unit-tests and is able to export `.unitypackage` files.
# Applying the plugin
**build.gradle**
```groovy
plugins {
id 'net.wooga.unity' version '2.4.0'
}
```# System Requirements
[Unity3D][unity] > 5.5
# Usage
**build.gradle**
```groovy
plugins {
id "net.wooga.unity" version "2.4.0"
}unity {
authentication {
username = "[email protected]"
password = "password"
serial = "unityserial"
}// projectPath = ""
// reportsDir = ""
// unityPath = ""//autoActivateUnity = true
//autoReturnLicense = true//assetsDir = "Assets"
//pluginsDir = "Assets/Plugins"//defaultBuildTarget = "android"
}exportUnityPackage {
inputFiles file('Assets')
}task(performBuild, type:wooga.gradle.unity.tasks.Unity) {
args "-executeMethod", "MyEditorScript.PerformBuild"// projectPath
// buildTarget
// logFile
// quit = true || quit true
// batchMode = true batchMode true
// noGraphics = false noGraphics false
}task(performMultipleBuilds) {
doLast {
unity.batchMode {
unityPath = project.file("/Applications/Unity-5.5.3f1/Unity.app/Contents/MacOS/Unity")
args "-executeMethod", "MyEditorScript.PerformBuild"
}unity.batchMode {
unityPath = project.file("/Applications/Unity-5.6.0f3/Unity.app/Contents/MacOS/Unity")
args "-executeMethod", "MyEditorScript.PerformBuild"
}
}
}//hook up the tasks into the lifecycle
tasks.assemble.dependsOn performBuild
tasks.assemble.dependsOn performMultipleBuilds
tasks.returnUnityLicense.mustRunAfter performMultipleBuilds```
## Documentation
- [API docs](https://wooga.github.io/atlas-unity/docs/api/)
- [Tasks](docs/Tasks.md)
- [Release Notes](RELEASE_NOTES.md)Gradle and Java Compatibility
=============================Built with Oracle JDK7
Tested with Oracle JDK8| Gradle Version | Works |
| :-------------: | :----: |
| < 5.1 | ![no] |
| 5.1 | ![yes] |
| 5.2 | ![yes] |
| 5.3 | ![yes] |
| 5.4 | ![yes] |
| 5.5 | ![yes] |
| 5.6 | ![yes] |
| 5.6 | ![yes] |
| 6.0 | ![yes] |
| 6.1 | ![yes] |
| 6.2 | ![yes] |
| 6.3 | ![yes] |
| 6.4 | ![yes] |
| 6.5 | ![yes] |
| 6.6 | ![yes] |
| 6.6 | ![yes] |
| 6.7 | ![yes] |
| 6.8 | ![yes] |
| 6.9 | ![yes] |
| 7.0 | ![yes] |Development
===========[Code of Conduct](docs/Code-of-conduct.md)
LICENSE
=======Copyright 2017 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 atUnless 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.[unity]: https://unity3d.com/ "Unity 3D"
[unity_cmd]: https://docs.unity3d.com/Manual/CommandLineArguments.html
[gradle]: https://gradle.org/ "Gradle"
[gradle_finalizedBy]: https://docs.gradle.org/3.5/dsl/org.gradle.api.Task.html#org.gradle.api.Task:finalizedBy
[gradle_dependsOn]: https://docs.gradle.org/3.5/dsl/org.gradle.api.Task.html#org.gradle.api.Task:dependsOn[yes]: https://atlas-resources.wooga.com/icons/icon_check.svg "yes"
[no]: https://atlas-resources.wooga.com/icons/icon_uncheck.svg "no"