Package-level declarations

Types

Link copied to clipboard
class ContentCopyException(message: String, cause: Throwable? = null) : RuntimeException

Exception thrown when copying content fails during the task execution.

Link copied to clipboard
class DrifterPlugin : Plugin<Project>

A plugin for the Drifter framework.

Link copied to clipboard
class FolderDeletionException(message: String, cause: Throwable? = null) : RuntimeException

Exception thrown when folder deletion fails during the task execution.

Link copied to clipboard
open class RefreshUnityAssetsTask : DefaultTask

A Gradle task for refreshing and updating Unity assets and resources in the project's directory.

Link copied to clipboard
open class UnityNativeBuildTask : DefaultTask

A Gradle task for building native code for Unity integration.

Properties

Link copied to clipboard

Getter for the drifter.unity.path.export property from Gradle properties.

Link copied to clipboard

Getter for the drifter.unity.path.ndk property from Gradle properties.

Functions

Link copied to clipboard
fun CommonExtension<*, *, *, *, *, *>.applyUnityManifestPlaceholders(unityOptions: UnityOptions)

Applies the Unity manifest placeholders to the project's manifest.

Link copied to clipboard
fun Project.createRefreshUnityAssetsTask(unityOptions: UnityOptions)

Creates and registers a RefreshUnityAssetsTask with the given unityOptions.

Link copied to clipboard
fun Project.createUnityNativeBuildTask(unityOptions: UnityOptions)

Creates and registers a UnityNativeBuildTask with the given unityOptions.

Link copied to clipboard
inline fun <T> Project.getProperty(key: String, defaultValue: T? = null): T?

Retrieves a property from gradle.properties and converts it to the specified type.

Link copied to clipboard

Retrieves the Drifter Unity export path from Gradle properties.

Link copied to clipboard

Retrieves the Drifter Unity NDK path from Gradle properties.

Link copied to clipboard
fun Project.unityBuildTask(commonExtension: CommonExtension<*, *, *, *, *, *>, unityOptions: UnityOptions)
Link copied to clipboard
fun Project.unityOptions(androidConfig: CommonExtension<*, *, *, *, *, *>, configure: UnityOptions.() -> Unit)

Configure BuildConfig-specific options for the Android project.