@@ -30,7 +30,7 @@ should add EDM4U as a
30
30
[ package dependency] ( https://docs.unity3d.com/2019.3/Documentation/Manual/upm-dependencies.html )
31
31
in your package manifest (` package.json ` ):
32
32
33
- ```
33
+ ``` json
34
34
{
35
35
"dependencies" : {
36
36
"com.google.external-dependency-manager" : " 1.2.178"
@@ -68,7 +68,7 @@ Check out [troubleshooting](troubleshooting-faq.md) if you need help.
68
68
EDM4U is available on
69
69
[ OpenUPM] ( https://openupm.com/packages/com.google.external-dependency-manager/ ) :
70
70
71
- ```
71
+ ``` shell
72
72
openupm add com.google.external-dependency-manager
73
73
```
74
74
@@ -118,7 +118,7 @@ For example, to add the Google Play Games library
118
118
(` com.google.android.gms:play-services-games ` package) at version ` 9.8.0 ` to the
119
119
set of a plugin's Android dependencies:
120
120
121
- ```
121
+ ``` xml
122
122
<dependencies >
123
123
<androidPackages >
124
124
<androidPackage spec =" com.google.android.gms:play-services-games:9.8.0" >
@@ -147,7 +147,7 @@ package if it's not found. If your Android dependency is located on Maven
147
147
central it's possible to specify the package simply using the ` androidPackage `
148
148
element:
149
149
150
- ```
150
+ ``` xml
151
151
<dependencies >
152
152
<androidPackages >
153
153
<androidPackage spec =" com.google.api-client:google-api-client-android:1.22.0" />
@@ -305,7 +305,7 @@ Dependencies for iOS are added by referring to CocoaPods.
305
305
306
306
For example, to add the AdMob pod, version 7.0 or greater with bitcode enabled:
307
307
308
- ```
308
+ ``` xml
309
309
<dependencies >
310
310
<iosPods >
311
311
<iosPod name =" Google-Mobile-Ads-SDK" version =" ~> 7.0" bitcodeEnabled =" true"
@@ -332,7 +332,7 @@ Manager > iOS Resolver > Settings` menu.
332
332
333
333
In order to modify the generated Podfile you can create a script like this:
334
334
335
- ```
335
+ ``` csharp
336
336
using System .IO ;
337
337
338
338
public class PostProcessIOS : MonoBehaviour
@@ -366,7 +366,7 @@ easy for plugin users to manage PM registry servers.
366
366
367
367
For example, to add a registry for plugins in the scope ` com.coolstuff ` :
368
368
369
- ```
369
+ ``` xml
370
370
<registries >
371
371
<registry name =" Cool Stuff"
372
372
url =" https://unityregistry.coolstuff.com"
@@ -765,7 +765,7 @@ For example, the following command will import the
765
765
` MyPluginProject ` and export the entire Assets folder to
766
766
` MyPlugin.unitypackage ` :
767
767
768
- ```
768
+ ``` shell
769
769
Unity -gvh_disable \
770
770
-batchmode \
771
771
-importPackage external-dependency-manager-1.2.46.0.unitypackage \
@@ -792,14 +792,14 @@ To build this plugin from source you need the following tools installed: * Unity
792
792
793
793
You can build the plugin by running the following from your shell (Linux / OSX):
794
794
795
- ```
795
+ ``` shell
796
796
./gradlew build
797
797
798
798
```
799
799
800
800
or Windows:
801
801
802
- ```
802
+ ``` shell
803
803
./gradlew.bat build
804
804
```
805
805
@@ -810,13 +810,13 @@ If Java 11 is not your default Java command, add
810
810
811
811
You can run the tests by running the following from your shell (Linux / OSX):
812
812
813
- ```
813
+ ``` shell
814
814
./gradlew test
815
815
```
816
816
817
817
or Windows:
818
818
819
- ```
819
+ ``` shell
820
820
./gradlew.bat test
821
821
```
822
822
@@ -862,7 +862,7 @@ For instance, by running the following command, it only runs the Unity
862
862
integration tests that does not requires GPU, but exclude tests for Android
863
863
Resolver module and iOS Resolver module.
864
864
865
- ```
865
+ ``` shell
866
866
./gradlew test \
867
867
-PINTERACTIVE_MODE_TESTS_ENABLED=0 \
868
868
-PINCLUDE_TEST_TYPES=" Integration" \
0 commit comments