# Set(uint, uint)

> Sets the version property to a release compile SDK version.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public void Set(uint major, uint minor = 0)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The major API level to compile your project against.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The minor API level to compile your project against. Pass 0 to omit it.

### Remarks

Equivalent to calling [CompileSdkSpec.SetRelease](/engine/6000.7/script-reference/unity/android/gradle/compilesdkspec/setrelease.md). Unity writes the resulting `release` block with `major` as the `apiLevel`, and `minor` as the `minorApiLevel` when `minor` is greater than 0.
