We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should be a gradle plugin!
The text was updated successfully, but these errors were encountered:
May be... If you see this project as gradle plugin and have a time to create this plugin, my project is open for improvements !
Sorry, something went wrong.
Simple gradle task to generate sql entities in the build folder and add them to the classpath.
All your sql files go in src/main/sql CodeGenUnderStorIO.jar is in app/codegen
src/main/sql
def sqlPath = 'src/main/sql' def sqlGeneratedPath = 'build/generated/source/sql/' android { sourceSets { main.java.srcDirs += sqlGeneratedPath } } task generateStorIOEntities { description = 'Generate sqlite tables and storio entities' fileTree(dir: sqlPath, include: '**/*.sql').each { File file -> doLast { javaexec { main = "-jar"; classpath = buildscript.configurations.classpath args = ["codegen/CodeGenUnderStorIO.jar", "${file}", "com.sendkoin.sql", "${sqlGeneratedPath}"] } } } } preBuild.dependsOn generateStorIOEntities
No branches or pull requests
This should be a gradle plugin!
The text was updated successfully, but these errors were encountered: