CompileSdkSpec
The C# definition of the compileSdk element in a Gradle file.
Read time 2 minutesLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.Android.Gradle
- Assembly: Unity.Android.Gradle
- Inherits from: BaseBlock
- Implements: ICloneable
public sealed class CompileSdkSpec : BaseBlock, ICloneable
Remarks
For more information about the element, see Android's documentation: CompileSdkSpec.
Unity writes this element to the module-level file when you set PlayerSettings.Android.compileSdkVersion to an AndroidSdkVersionFull that has a minor version, such as 36.1. For whole API levels, Unity writes the simpler property instead.
build.gradlecompileSdkVersionConstructors
Constructor | Description |
|---|---|
| CompileSdkSpec() | Initializes a new instance of the |
Methods
Method | Description |
|---|---|
| Set | Sets the |
| SetRelease | Sets the |