# CompileSdkReleaseSpec

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/CompileSdkReleaseSpec.kt+class:com.android.build.api.dsl.CompileSdkReleaseSpec) Added in 8.13.0


```
interface CompileSdkReleaseSpec
```

<br />

*** ** * ** ***

Configures the compile sdk version when a released API level is used. See `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/CompileSdkSpec#release(kotlin.Int,kotlin.Function1)`

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/CompileSdkReleaseSpec#minorApiLevel()` Set minor API version for compile SDK. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/CompileSdkReleaseSpec#sdkExtension()` Set the SDK Extension level to compile your project against. |

## Public properties

### minorApiLevel

Added in 8.13.0

```
var minorApiLevel: Int?
```

Set minor API version for compile SDK. This should be used with the main API version to specify a full SDK version.

### sdkExtension

Added in 8.13.0

```
var sdkExtension: Int?
```

Set the SDK Extension level to compile your project against.