# CompileSdkReleaseSpec

# 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-alpha02  

<br />

```
interface CompileSdkReleaseSpec
```

<br />

*** ** * ** ***

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

## Summary

|                             ### Public properties                             |
|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` | [minorApiLevel](https://developer.android.com/reference/tools/gradle-api/8.13/com/android/build/api/dsl/CompileSdkReleaseSpec#minorApiLevel()) Set minor API version for compile SDK.                     |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` | [sdkExtension](https://developer.android.com/reference/tools/gradle-api/8.13/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-alpha02  

```
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-alpha02  

```
var sdkExtension: Int?
```

Set the SDK Extension level to compile your project against.