Skip to content

Commit

Permalink
Adding syntax highlighting to README
Browse files Browse the repository at this point in the history
  • Loading branch information
f1yingbanana committed Dec 21, 2023
1 parent b798a28 commit f29320b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ should add EDM4U as a
[package dependency](https://docs.unity3d.com/2019.3/Documentation/Manual/upm-dependencies.html)
in your package manifest (`package.json`):

```
```json
{
"dependencies": {
"com.google.external-dependency-manager": "1.2.178"
Expand Down Expand Up @@ -68,7 +68,7 @@ Check out [troubleshooting](troubleshooting-faq.md) if you need help.
EDM4U is available on
[OpenUPM](https://openupm.com/packages/com.google.external-dependency-manager/):

```
```shell
openupm add com.google.external-dependency-manager
```

Expand Down Expand Up @@ -118,7 +118,7 @@ For example, to add the Google Play Games library
(`com.google.android.gms:play-services-games` package) at version `9.8.0` to the
set of a plugin's Android dependencies:

```
```xml
<dependencies>
<androidPackages>
<androidPackage spec="com.google.android.gms:play-services-games:9.8.0">
Expand Down Expand Up @@ -147,7 +147,7 @@ package if it's not found. If your Android dependency is located on Maven
central it's possible to specify the package simply using the `androidPackage`
element:

```
```xml
<dependencies>
<androidPackages>
<androidPackage spec="com.google.api-client:google-api-client-android:1.22.0" />
Expand Down Expand Up @@ -305,7 +305,7 @@ Dependencies for iOS are added by referring to CocoaPods.

For example, to add the AdMob pod, version 7.0 or greater with bitcode enabled:

```
```xml
<dependencies>
<iosPods>
<iosPod name="Google-Mobile-Ads-SDK" version="~> 7.0" bitcodeEnabled="true"
Expand All @@ -332,7 +332,7 @@ Manager > iOS Resolver > Settings` menu.

In order to modify the generated Podfile you can create a script like this:

```
```csharp
using System.IO;

public class PostProcessIOS : MonoBehaviour
Expand Down Expand Up @@ -366,7 +366,7 @@ easy for plugin users to manage PM registry servers.

For example, to add a registry for plugins in the scope `com.coolstuff`:

```
```xml
<registries>
<registry name="Cool Stuff"
url="https://unityregistry.coolstuff.com"
Expand Down Expand Up @@ -765,7 +765,7 @@ For example, the following command will import the
`MyPluginProject` and export the entire Assets folder to
`MyPlugin.unitypackage`:

```
```shell
Unity -gvh_disable \
-batchmode \
-importPackage external-dependency-manager-1.2.46.0.unitypackage \
Expand All @@ -792,14 +792,14 @@ To build this plugin from source you need the following tools installed: * Unity

You can build the plugin by running the following from your shell (Linux / OSX):

```
```shell
./gradlew build

```

or Windows:

```
```shell
./gradlew.bat build
```

Expand All @@ -810,13 +810,13 @@ If Java 11 is not your default Java command, add

You can run the tests by running the following from your shell (Linux / OSX):

```
```shell
./gradlew test
```

or Windows:

```
```shell
./gradlew.bat test
```

Expand Down Expand Up @@ -862,7 +862,7 @@ For instance, by running the following command, it only runs the Unity
integration tests that does not requires GPU, but exclude tests for Android
Resolver module and iOS Resolver module.

```
```shell
./gradlew test \
-PINTERACTIVE_MODE_TESTS_ENABLED=0 \
-PINCLUDE_TEST_TYPES="Integration" \
Expand Down

0 comments on commit f29320b

Please sign in to comment.