MaxSdkSpec

Added in 8.12.0

interface MaxSdkSpec


DSL object to configure max SDK version.

For example,

android {
defaultConfig {
maxSdk {
version = release(33)
}
}
}

Summary

Public functions

MaxSdkVersion
release(version: Int)

To set max SDK version, use this function to compute the MaxSdkVersion and assign it to MaxSdkSpec.version.

Public properties

MaxSdkVersion?

The Max SDK version.

Public functions

release

Added in 8.12.0
fun release(version: Int): MaxSdkVersion

To set max SDK version, use this function to compute the MaxSdkVersion and assign it to MaxSdkSpec.version.

Public properties

version

Added in 8.12.0
var versionMaxSdkVersion?

The Max SDK version.