Package-level declarations

Types

Link copied to clipboard

Allows consumers to configure and register (with DriverManager) their custom drivers prior to running VerifyMigrationTask and GenerateSchemaTask tasks.

Link copied to clipboard
@CacheableTask
abstract class GenerateMigrationOutputTask : SqlDelightWorkerTask
Link copied to clipboard
@CacheableTask
abstract class GenerateSchemaTask : SqlDelightWorkerTask
Link copied to clipboard
data class SqlDelightCompilationUnitImpl(val name: String, val sourceFolders: Set<SqlDelightSourceFolderImpl>, val outputDirectoryFile: File) : SqlDelightCompilationUnit
Link copied to clipboard
abstract class SqlDelightDatabase @Inject constructor(val project: Project, val name: String)
Link copied to clipboard
Link copied to clipboard
data class SqlDelightDatabaseNameImpl(val packageName: String, val className: String) : SqlDelightDatabaseName
Link copied to clipboard
data class SqlDelightDatabaseOptionsImpl(val packageName: String, val className: String, val dependencies: List<SqlDelightDatabaseNameImpl>, val deriveSchemaFromMigrations: Boolean = false, val treatNullAsUnknownForEquality: Boolean = false, val generateAsync: Boolean = false, val expandSelectStar: Boolean = true, val codegenExcludedColumns: Set<String> = emptySet()) : SqlDelightDatabaseOptions

The settings that decide what gets generated for a database and nothing else. Tasks declare this whole value as an @Input, so it must not carry absolute paths or anything that varies with how many variants a build happens to configure.

Link copied to clipboard

options plus the project layout needed to locate sources. The tooling model builds one with every compilation unit for the IDE. Tasks build one with a single unit at execution time. This should not be used as a task input since it carries absolute paths.

Link copied to clipboard
annotation class SqlDelightDsl
Link copied to clipboard
Link copied to clipboard
interface SqlDelightPackageAttribute : Named
Link copied to clipboard
abstract class SqlDelightPlugin : Plugin<Project>
Link copied to clipboard
data class SqlDelightPropertiesFileImpl(val databases: List<SqlDelightDatabasePropertiesImpl>, val dialectJars: Collection<File>, val minimumSupportedVersion: String, val currentVersion: String) : SqlDelightPropertiesFile
Link copied to clipboard
data class SqlDelightSourceFolderImpl(val folder: File, val dependency: Boolean = false) : SqlDelightSourceFolder
Link copied to clipboard
@CacheableTask
abstract class SqlDelightTask : SqlDelightWorkerTask
Link copied to clipboard
@CacheableTask
abstract class SqlDelightWorkerTask : SourceTask

Common API for interacting with gradle workers in tasks

Link copied to clipboard
@CacheableTask
abstract class VerifyMigrationTask : SqlDelightWorkerTask