> For the complete documentation index, see [llms.txt](https://notes.tejpratapsingh.com/android-tips/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.tejpratapsingh.com/android-tips/gradle/create-custom-manifest-variables.md).

# Create Custom manifest Variables

```gradle
android {
    defaultConfig {
        manifestPlaceholders = [hostName:"www.example.com"]
    }
    ...
}
```

Now you can use `hostname` as:

```
<intent-filter ... >
    <data android:scheme="https" android:host="${hostName}" ... />
    ...
</intent-filter>
```

#### Read More:

{% embed url="<https://developer.android.com/build/manage-manifests>" %}
