Introduction

This project implements a Gradle plugin that defines a task to extract DDL from an Android Room SQLite database schema file. It is intended to be declared (but not applied) as a plugin in the project-level build.gradle/build.gradle.kts file of an Android project, applied as a plugin in the app- or library-module-level build.gradle/build.gradle.kts file, and configured in the latter as well.

Latest version

2.0.0

Requirements

  • Tested with database schema files generated by Room 2.x. (It may work with Room 1.x-generated schema files, but you’re on your own there.)

  • Compiled with JDK 17; thus, any projects using this plugin must be running Gradle with JDK 17 or higher. (Note that Gradle v9.x and the Android Gradle plugin v8.x–v9.x have the same minimum JDK requirement.)